portage-ng / portage / dev-libs / libyaml / 0.2.2
portage-ng glsa
2 advisories reference dev-libs/libyaml · none place version 0.2.2 in a vulnerable range
▸ GLSA 201405-27 LibYAML: Arbitrary code execution this version unaffected normal local, remote 2014-05-23

A vulnerability in LibYAML could allow an attacker to execute arbitrary code or cause a Denial of Service condition.

Announced
2014-05-23
Revised
2014-05-23
Access
local, remote
Bugs
#505948
Advisory
https://security.gentoo.org/glsa/201405-27

Affected packages

PackageArchVulnerableUnaffected
dev-libs/libyaml*< 0.1.6>= 0.1.6

Background

LibYAML is a YAML 1.1 parser and emitter written in C.

Description

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.

Resolution

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.

References

▸ GLSA 201403-02 LibYAML: Arbitrary code execution this version unaffected normal remote 2014-03-08

A Vulnerability in LibYAML could result in execution of arbitrary code.

Announced
2014-03-08
Revised
2014-03-08
Access
remote
Bugs
#499920
Advisory
https://security.gentoo.org/glsa/201403-02

Affected packages

PackageArchVulnerableUnaffected
dev-libs/libyaml*< 0.1.5>= 0.1.5

Background

LibYAML is a YAML 1.1 parser and emitter written in C.

Description

A heap-based buffer overflow flaw was found in the way libyaml parsed YAML tags.

Impact

A remote attacker could provide a specially-crafted YAML document which when parsed by LibYAML, would cause the application to crash or, potentially, execute arbitrary code with the privileges the user who is running the application.

Workaround

There is no known workaround at this time.

Resolution

All LibYAML users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-libs/libyaml-0.1.5"

References