CVE-2021-45960

expat: Large number of prefixed XML attributes on a single tag can crash libexpat

Published Jan 1, 2022 CVSS 3.1 · 8.8 High EPSS 4.7% KEV · Not listed
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).

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2904-1 expat security update
Debian DSA Debian DSA DSA-5073-1 expat security update
EUVD EUVD EUVD-2021-32666 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).
Ubuntu USN Ubuntu USN USN-5288-1 Expat vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00374}

epss

{'score': 0.00379}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}