CVE-2022-25315CWE-190

CVE-2022-25315

Critical · published February 18, 2022

CVSS v3.1
9.8
EPSS
5%
Percentile
91.9
In the wild
Unconfirmed
What it is

🔥 An integer overflow in Expat allows for potentially catastrophic consequences before you even get to version 2.4.5! Think of this like pouring a fizzy drink into a bottle — if you pour too much too fast, it overflows and creates a sticky mess everywhere. In this case, the integer overflow can lead to unpredictable behavior in your applications when processing XML data, just like the drink spilling all over your kitchen! An attacker exploiting this vulnerability could cause the application to crash or behave erratically, potentially leading to data corruption or denial of service. It's absolutely devastating when a library meant to simplify XML parsing turns into a ticking time bomb during your software's runtime!

Put simply

Think of this like pouring a fizzy drink into a bottle — if you pour too much too fast, it overflows and creates a sticky mess everywhere. In this case, the integer overflow can lead to unpredictable behavior in your applications when processing XML data, just like the drink spilling all over your kitchen! This critical vulnerability arises in Expat's storeRawNames function, where improper handling of integer values can lead to an overflow, allowing attackers to exploit this flaw for various malicious outcomes.

What to do

An attacker exploiting this vulnerability could cause the application to crash or behave erratically, potentially leading to data corruption or denial of service. It's absolutely devastating when a library meant to simplify XML parsing turns into a ticking time bomb during your software's runtime! Upgrade Expat to version 2.4.5 or later as soon as possible. Ensure that any applications relying on the library are thoroughly tested post-update to confirm they handle XML data as expected. Regularly review your dependency management to avoid similar issues in the future! You've got this! By patching and staying vigilant, you can keep your applications safe and sound. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.04821 · 91.9th percentile
Weakness
CWE-190 · Integer Overflow or Wraparound
Published
2022-02-18T10:15Z
Affected products (9)
ProductVersionsFixed in
libexpat_project/libexpat< 2.4.52.4.5
debian/debian_linuxall versions—
debian/debian_linuxall versions—
fedoraproject/fedoraall versions—
fedoraproject/fedoraall versions—
oracle/http_serverall versions—
oracle/http_serverall versions—
oracle/zfs_storage_appliance_kitall versions—
siemens/sinema_remote_connect_server< 3.13.1
References (22)
http://www.openwall.com/lists/oss-security/2022/02/19/1 · [email protected]https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf · [email protected]https://github.com/libexpat/libexpat/pull/559 · [email protected]https://lists.debian.org/debian-lts-announce/2022/03/msg00007.html · [email protected]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3UFRBA3UQVIQKXTBUQXDWQOVWNBKLERU/ · [email protected]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y27XO3JMKAOMQZVPS3B4MJGEAHCZF5OM/ · [email protected]https://security.gentoo.org/glsa/202209-24 · [email protected]https://security.netapp.com/advisory/ntap-20220303-0008/ · [email protected]https://www.debian.org/security/2022/dsa-5085 · [email protected]https://www.oracle.com/security-alerts/cpuapr2022.html · [email protected]http://www.openwall.com/lists/oss-security/2022/02/19/1 · af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf · af854a3a-2127-422b-91ae-364da2661108https://github.com/libexpat/libexpat/pull/559 · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2022/03/msg00007.html · af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3UFRBA3UQVIQKXTBUQXDWQOVWNBKLERU/ · af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Y27XO3JMKAOMQZVPS3B4MJGEAHCZF5OM/ · af854a3a-2127-422b-91ae-364da2661108https://security.gentoo.org/glsa/202209-24 · af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20220303-0008/ · af854a3a-2127-422b-91ae-364da2661108https://www.debian.org/security/2022/dsa-5085 · af854a3a-2127-422b-91ae-364da2661108https://www.oracle.com/security-alerts/cpuapr2022.html · af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/html/ssa-398330.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://cert-portal.siemens.com/productcert/html/ssa-484086.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
EPSS history
Timeline
  • 18 FEB 04:24Z
    In Expat (aka libexpat) before 2.4.5, there is an integer overflow in storeRawNames
    cvelistv5