Input validation error in libxslt - CVE-2012-6139

 

Input validation error in libxslt - CVE-2012-6139

Published: April 13, 2013 / Updated: July 28, 2020


Vulnerability identifier: #VU32709
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-6139
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows remote attackers to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker can cause a denial of service (NULL pointer dereference and crash) via an (1) empty match attribute in a XSL key to the xsltAddKey function in keys.c or (2) uninitialized variable to the xsltDocumentFunction function in functions.c.


Affected software

libxslt
Ubuntu
libxslt (Alpine package)
libxslt1.1 (Ubuntu package)

How to mitigate CVE-2012-6139

Update to version 1.1.28.

libxslt - update to 1.1.28
libxslt (Alpine package) - update to 1.1.28-r0
libxslt1.1 (Ubuntu package) - addressed in versions 1.1.22-1ubuntu1.4, 1.1.26-1ubuntu1.2, 1.1.26-7ubuntu0.2, 1.1.26-8ubuntu1.3, 1.1.26-14ubuntu0.1

External References

Related Security Bulletins