CVE-2022-22824CWE-190

CVE-2022-22824

Critical · published January 10, 2022

CVSS v3.1
9.8
EPSS
4%
Percentile
89.4
In the wild
Unconfirmed
What it is

🔥 An integer overflow in Expat could turn your XML parsing into a ticking time bomb! Imagine a factory assembly line that miscalculates the number of parts it can handle, causing an overflow of materials and chaos. That's what this vulnerability does to your data, potentially leading to system crashes and unexpected behavior. If exploited, an attacker could cause crashes or even execute arbitrary code, leading to severe system failures. This means sensitive data could be at risk, and the stability of your applications could hang in the balance — absolutely devastating!

Put simply

Imagine a factory assembly line that miscalculates the number of parts it can handle, causing an overflow of materials and chaos. That's what this vulnerability does to your data, potentially leading to system crashes and unexpected behavior. The flaw arises in the defineAttribute function within xmlparse.c in Expat versions prior to 2.4.3, where an integer overflow can occur during XML parsing operations, leading to memory corruption.

What to do

If exploited, an attacker could cause crashes or even execute arbitrary code, leading to severe system failures. This means sensitive data could be at risk, and the stability of your applications could hang in the balance — absolutely devastating! Patch your Expat library to version 2.4.3 or later immediately to close this critical vulnerability. It's essential to also review your XML processing logic to ensure it doesn't expose your applications to similar risks in the future. You've got this! By taking these steps, you can secure your application and keep the internet safe! 🛡️

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.03597 · 89.4th percentile
Weakness
CWE-190 · Integer Overflow or Wraparound
Published
2022-01-10T19:12Z
Affected products (6)
ProductVersionsFixed in
libexpat_project/libexpat< 2.4.32.4.3
tenable/nessus< 8.15.38.15.3
tenable/nessus≥ 10.0.0, < 10.1.110.1.1
debian/debian_linuxall versions—
debian/debian_linuxall versions—
siemens/sinema_remote_connect_server< 3.13.1
References (14)
EPSS history
Timeline
  • 08 JAN 02:56Z
    defineAttribute in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow
    cvelistv5