GLSA-201405-27 : LibYAML: Arbitrary code execution

Medium Nessus Plugin ID 74171


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-201405-27 (LibYAML: Arbitrary code execution)

The yaml_parser_scan_uri_escapes() function does not properly expand strings passed as input, which can result in a heap-based buffer overflow.
Impact :

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.
Workaround :

There is no known workaround at this time.


All LibYAML users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-libs/libyaml-0.1.6' Packages which depend on this library may need to be recompiled. Tools such as revdep-rebuild may assist in identifying these packages.

See Also

Plugin Details

Severity: Medium

ID: 74171

File Name: gentoo_GLSA-201405-27.nasl

Version: $Revision: 1.3 $

Type: local

Published: 2014/05/25

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 6.8

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:ND/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:libyaml, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2014/05/23

Reference Information

CVE: CVE-2014-2525

BID: 66478

GLSA: 201405-27