Resource management error in Libxml2 - CVE-2015-5312

 

Resource management error in Libxml2 - CVE-2015-5312

Published: December 15, 2015 / Updated: July 28, 2020


Vulnerability identifier: #VU32386
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2015-5312
CWE-ID: CWE-399
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to perform a denial of service (DoS) attack.

The xmlStringLenDecodeEntities function in parser.c in libxml2 before 2.9.3 does not properly prevent entity expansion, which allows context-dependent attackers to cause a denial of service (CPU consumption) via crafted XML data, a different vulnerability than CVE-2014-3660.


Affected software

Libxml2
Amazon Linux AMI
Fedora
libxml2 (Alpine package)
libxml2

How to mitigate CVE-2015-5312

Install update from vendor's website.

Libxml2 - update to 2.9.3
libxml2 (Alpine package) - addressed in versions 2.9.1-r3, 2.9.1-r4
libxml2 - addressed in versions 2.9.3-1.fc22, 2.9.3-1.fc23

External References

Related Security Bulletins