CVE-2021-45960
JSON

8.8high

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 misbe…

Severity
8.8high CVSS:3.1 by CISA-ADP
Exploit likelihood
4.63% (higher than 91% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

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).

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
libexpat_project libexpatbefore 2.4.3NVD
tenable nessusbefore 8.15.3, from 10.0.0 before 10.1.1NVD
debian debian_linux10.0, 11.0NVD
siemens sinema_remote_connect_serverbefore 3.1NVD
netapp active_iq_unified_managerNot specifiedNVD
netapp hci_baseboard_management_controllerh610c, h610s, h615cNVD
netapp oncommand_workflow_automationNot specifiedNVD
netapp solidfire_&_hci_management_nodeNot specifiedNVD

All scores

CISA-ADP8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD9.0high CVSS:2.0AV:N/AC:L/Au:S/C:C/I:C/A:C

Classification

CWE-682

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

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).

NVD (es)

En Expat (también se conoce como libexpat) versiones anteriores a 2.4.3, un desplazamiento a la izquierda por 29 (o más) lugares en la función storeAtts en el archivo xmlparse.c puede conllevar a un comportamiento incorrecto de reasignación (por ejemplo, asignar muy pocos bytes, o sólo liberar memoria).

References

https://github.com/libexpat/libexpat/issues/531exploit, issue-tracking, patch, third-party-advisory
https://github.com/libexpat/libexpat/pull/534patch, third-party-advisory
https://bugzilla.mozilla.org/show_bug.cgi?id=1217609issue-tracking, permissions-required, third-party-advisory
http://www.openwall.com/lists/oss-security/2022/01/17/3exploit, mailing-list, third-party-advisory
https://security.netapp.com/advisory/ntap-20220121-0004/third-party-advisory
https://www.tenable.com/security/tns-2022-05third-party-advisory
https://www.debian.org/security/2022/dsa-5073issue-tracking, third-party-advisory, vendor-advisory
https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdfpatch, third-party-advisory
https://security.gentoo.org/glsa/202209-24third-party-advisory, vendor-advisory
https://cert-portal.siemens.com/productcert/html/ssa-484086.html
https://cert-portal.siemens.com/productcert/html/ssa-398330.html

Sources

SourceRecordLicence
CVE ListCVE-2021-45960 changed 2026-10-14CVE Terms of Use
NVDCVE-2021-45960 changed 2026-10-14Public domain