Joined: 12 May 2004
|Posted: Fri May 23, 2014 9:26 am Post subject: [ GLSA 201405-27 ] LibYAML: Arbitrary code execution
|Gentoo Linux Security Advisory
Title: LibYAML: Arbitrary code execution (GLSA 201405-27)
Exploitable: local, remote
Date: May 23, 2014
A vulnerability in LibYAML could allow an attacker to execute
arbitrary code or cause a Denial of Service condition.
LibYAML is a YAML 1.1 parser and emitter written in C.
Vulnerable: < 0.1.6
Unaffected: >= 0.1.6
Architectures: All supported architectures
The yaml_parser_scan_uri_escapes() function does not properly expand
strings passed as input, which can result in a heap-based buffer
An attacker could provide a specially-crafted YAML document, which, when
parsed by LibYAML, could result in arbitrary code execution or cause the
application to crash.
There is no known workaround at this time.
All LibYAML users should upgrade to the latest version:
Packages which depend on this library may need to be recompiled. Tools
|# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/libyaml-0.1.6"
such as revdep-rebuild may assist in identifying these packages.