CVE-2021-45960
HIGHCVSS 8.8/10EPSS 4.20%
Last modified
CVE-2021-45960 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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).. EPSS estimates a 4.20% chance of exploitation in the next 30 days.
Description
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).
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Libexpat Project | Libexpat | < 2.4.3 |
| Tenable | Nessus | < 8.15.3 |
| Tenable | Nessus | >= 10.0.0, < 10.1.1 |
| Debian | Debian Linux | 10.0 |
| Debian | Debian Linux | 11.0 |
| Siemens | Sinema Remote Connect Server | < 3.1 |
| Netapp | Active Iq Unified Manager | All versions |
| Netapp | Hci Baseboard Management Controller | h610c |
| Netapp | Hci Baseboard Management Controller | h610s |
| Netapp | Hci Baseboard Management Controller | h615c |
| Netapp | Oncommand Workflow Automation | All versions |
| Netapp | Solidfire \& Hci Management Node | All versions |
References
- http://www.openwall.com/lists/oss-security/2022/01/17/3Exploit, Mailing List, Third Party Advisory
- https://bugzilla.mozilla.org/show_bug.cgi?id=1217609Issue Tracking, Permissions Required, Third Party Advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdfPatch, Third Party Advisory
- https://github.com/libexpat/libexpat/issues/531Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/libexpat/libexpat/pull/534Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202209-24Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220121-0004/Third Party Advisory
- https://www.debian.org/security/2022/dsa-5073Issue Tracking, Third Party Advisory
- https://www.tenable.com/security/tns-2022-05Third Party Advisory
- http://www.openwall.com/lists/oss-security/2022/01/17/3Exploit, Mailing List, Third Party Advisory
- https://bugzilla.mozilla.org/show_bug.cgi?id=1217609Issue Tracking, Permissions Required, Third Party Advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdfPatch, Third Party Advisory
- https://github.com/libexpat/libexpat/issues/531Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/libexpat/libexpat/pull/534Patch, Third Party Advisory
- https://security.gentoo.org/glsa/202209-24Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220121-0004/Third Party Advisory
- https://www.debian.org/security/2022/dsa-5073Issue Tracking, Third Party Advisory
- https://www.tenable.com/security/tns-2022-05Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is 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).
How severe is CVE-2021-45960?
CVE-2021-45960 has a CVSS score of 8.8/10 (HIGH severity). The EPSS model estimates a 4.20% probability of exploitation in the next 30 days.
How do I fix CVE-2021-45960?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-45954Dnsmasq 2.86 has a heap-based buffer overflow in extract_nam…9.8
- CVE-2021-45955Dnsmasq 2.86 has a heap-based buffer overflow in resize_pack…9.8
- CVE-2021-45956Dnsmasq 2.86 has a heap-based buffer overflow in print_mac (…9.8
- CVE-2021-45957Dnsmasq 2.86 has a heap-based buffer overflow in answer_requ…9.8
- CVE-2021-45958UltraJSON (aka ujson) through 5.1.0 has a stack-based buffer…5.5
- CVE-2021-45959Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-45966An issue was discovered in Pascom Cloud Phone System before …9.8
- CVE-2021-45967An issue was discovered in Pascom Cloud Phone System before …9.8
- CVE-2021-45968An issue was discovered in xmppserver jar in the XMPP Server…7.5
- CVE-2021-45969An issue was discovered in AhciBusDxe in Insyde InsydeH2O wi…8.2
- CVE-2021-45970An issue was discovered in IdeBusDxe in Insyde InsydeH2O wit…8.2
- CVE-2021-45971An issue was discovered in SdHostDriver in Insyde InsydeH2O …8.2
Are you affected by CVE-2021-45960?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
