Heap-based buffer overflow - CVE-2014-2525
Published: March 28, 2014 / Updated: August 3, 2020
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
Amazon Linux AMI
Fedora
Slackware Linux
yaml (Alpine package)
py-django (Alpine package)
libyaml
How to mitigate CVE-2014-2525
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
- http://advisories.mageia.org/MGASA-2014-0150.html
- http://lists.opensuse.org/opensuse-updates/2014-04/msg00022.html
- http://lists.opensuse.org/opensuse-updates/2015-02/msg00078.html
- http://lists.opensuse.org/opensuse-updates/2016-04/msg00050.html
- http://rhn.redhat.com/errata/RHSA-2014-0353.html
- http://rhn.redhat.com/errata/RHSA-2014-0354.html
- http://rhn.redhat.com/errata/RHSA-2014-0355.html
- http://secunia.com/advisories/57836
- http://secunia.com/advisories/57966
- http://secunia.com/advisories/57968
- http://support.apple.com/kb/HT6443
- http://www.debian.org/security/2014/dsa-2884
- http://www.debian.org/security/2014/dsa-2885
- http://www.getchef.com/blog/2014/04/09/chef-server-11-0-12-release/
- http://www.getchef.com/blog/2014/04/09/enterprise-chef-11-1-3-release/
- http://www.getchef.com/blog/2014/04/09/enterprise-chef-1-4-9-release/
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:060
- http://www.ocert.org/advisories/ocert-2014-003.html
- http://www.securityfocus.com/bid/66478
- http://www.ubuntu.com/usn/USN-2160-1
- https://bitbucket.org/xi/libyaml/commits/bce8b60f0b9af69fa9fab3093d0a41ba243de048
- https://puppet.com/security/cve/cve-2014-2525