GLSA-201405-27 : LibYAML: Arbitrary code execution

Medium Nessus Plugin ID 74171

New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it's different from CVSS.

VPR Score: 5.9


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: 1.4

Type: local

Published: 2014/05/25

Updated: 2020/09/24

Dependencies: 12634

Risk Information

Risk Factor: Medium

VPR Score: 5.9

CVSS v2.0

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