Memory corruption in libxslt - CVE-2017-5029

 

Memory corruption in libxslt - CVE-2017-5029

Published: April 4, 2018


Vulnerability identifier: #VU11531
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-5029
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to write arbitrary files, cause DoS condition or execute arbitrary files on the target system.

The weakness exists in the xsltAddTextString function in transform.c due to lack of a check for integer overflow during a size calculation. A remote attacker can submit a specially crafted HTML page, trigger out-of-bounds write, write arbitrary files, cause the service to crash or execute arbitrary code.

Successful exploitation of the vulnerability may result in system compromise.

Affected software

libxslt
Arch Linux
Gentoo Linux
libxslt (Alpine package)

How to mitigate CVE-2017-5029

Update to version 1.1.30.

libxslt (Alpine package) - update to 1.1.29-r1

External References

Related Security Bulletins