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.0: 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/E:U/U:Amber
CVE-ID: CVE-2017-5029
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Gnome Development Team
Affected software:
libxslt

Detailed vulnerability description

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.

How to mitigate CVE-2017-5029

Update to version 1.1.30.

Sources