Description
The yaml_parser_scan_tag_uri function in scanner.c in LibYAML before 0.1.5 performs an incorrect cast, which allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via crafted tags in a YAML document, which triggers a heap-based buffer overflow.
Remediation
References
http://advisories.mageia.org/MGASA-2014-0040.html
http://archives.neohapsis.com/archives/bugtraq/2014-04/0134.html
http://archives.neohapsis.com/archives/bugtraq/2014-10/0103.html
http://lists.opensuse.org/opensuse-updates/2014-02/msg00064.html
http://lists.opensuse.org/opensuse-updates/2014-02/msg00065.html
http://lists.opensuse.org/opensuse-updates/2015-02/msg00078.html
http://lists.opensuse.org/opensuse-updates/2016-04/msg00050.html
http://osvdb.org/102716
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://www.debian.org/security/2014/dsa-2850
http://www.debian.org/security/2014/dsa-2870
http://www.mandriva.com/security/advisories?name=MDVSA-2015:060
http://www.securityfocus.com/bid/65258
http://www.ubuntu.com/usn/USN-2098-1
https://bitbucket.org/xi/libyaml/commits/tag/0.1.5
https://bugzilla.redhat.com/attachment.cgi?id=847926&action=diff
https://bugzilla.redhat.com/show_bug.cgi?id=1033990
https://puppet.com/security/cve/cve-2013-6393
https://support.apple.com/kb/HT6536
Related Vulnerabilities
CVE-2012-0393 Vulnerability in maven package org.apache.struts.xwork:xwork-core
CVE-2017-16089 Vulnerability in npm package serverlyr
CVE-2019-1003024 Vulnerability in maven package org.jenkins-ci.plugins:script-security
CVE-2016-10594 Vulnerability in npm package ipip
CVE-2020-2168 Vulnerability in maven package org.jenkins-ci.plugins:azure-acs