Vulnerability in Libexpat Project
CVE-2021-45960
In Expat (aka libexpat) before 2.4.3, a left shift by 29 (or more) places in the storeAtts function in xmlparse.c can lead to realloc misbehavior (e.g., allocating too few bytes, or only freeing memory).
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.047 (91.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 92nd percentile — 91.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.042 · newest: 0.047 · change: +0.004
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/libexpat/libexpat/issues/531 (Exploit, Patch, Third Party Advisory, Issue Tracking)
- github.com/libexpat/libexpat/pull/534 (Patch, Third Party Advisory)
- bugzilla.mozilla.org/show_bug.cgi (Permissions Required, Third Party Advisory, Issue Tracking)
- www.openwall.com/lists/oss-security/2022/01/17/3 (mailing-list, Exploit, Mailing List, Third Party Advisory)
- security.netapp.com/advisory/ntap-20220121-0004/ (Third Party Advisory)
- www.tenable.com/security/tns-2022-05 (Third Party Advisory)
- www.debian.org/security/2022/dsa-5073 (vendor-advisory, Third Party Advisory, Issue Tracking)
- cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf (Patch, Third Party Advisory)
- security.gentoo.org/glsa/202209-24 (vendor-advisory, Third Party Advisory)
- 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
Frequently asked questions
- What is CVE-2021-45960?
- CVE-2021-45960 is a high-severity vulnerability in Libexpat Project, classified under Incorrect Calculation. CVSS score: 8.8/10. Published 2022-01-01.
- How severe is CVE-2021-45960?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2021-45960 known to be exploited?
- 13 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.