Heap-based buffer overflow - CVE-2014-2525

 

Heap-based buffer overflow - CVE-2014-2525

Published: March 28, 2014 / Updated: August 3, 2020


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

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in Heap-based buffer overflow in the yaml_parser_scan_uri_escapes function in LibYAML before 0.1.6. A remote attacker can use a long sequence of percent-encoded characters in a URI in a YAML file. to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Gentoo Linux
Amazon Linux AMI
Fedora
Slackware Linux
yaml (Alpine package)
py-django (Alpine package)
libyaml

How to mitigate CVE-2014-2525

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

yaml (Alpine package) - update to 0.1.6-r0
py-django (Alpine package) - update to 1.5.6-r0
libyaml - addressed in versions 0.1.2-7.el5, 0.1.6-1.el6

External References

Related Security Bulletins