UBUNTU-CVE-2021-45960
Dashboard / Vulnerabilities / UBUNTU-CVE-2021-45960
UBUNTU-CVE-2021-45960
Published: 1 Jan 2022Last Modified: 28 May 2026
Upstream:
Aliases:
Summary:
Details: 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).
References: https://ubuntu.com/security/CVE-2021-45960, https://github.com/libexpat/libexpat/pull/534/commits/0adcb34c49bee5b19bd29b16a578c510c23597ea, https://ubuntu.com/security/notices/USN-5288-1, https://www.cve.org/CVERecord?id=CVE-2021-45960
Affected packages
Package
Name: expat
Purl: pkg:deb/ubuntu/expat?arch=source&distro=trusty%2Fesm
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 0
Fixed -2.1.0-4ubuntu1.4+esm4
Affected versions
2.1.0-4
2.1.0-4ubuntu1
2.1.0-4ubuntu1.1
2.1.0-4ubuntu1.2
2.1.0-4ubuntu1.3
2.1.0-4ubuntu1.4
2.1.0-4ubuntu1.4+esm1
2.1.0-4ubuntu1.4+esm2
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
