Security Advisory Important: libyaml security update

Advisory: RHSA-2014:0353-1
Type: Security Advisory
Severity: Important
Issued on: 2014-04-02
Last updated on: 2014-04-02
Affected Products: Red Hat OpenStack 3.0
CVEs (cve.mitre.org): CVE-2013-6393
CVE-2014-2525

Details

Updated libyaml packages that fix two security issues are now available for
Red Hat Enterprise Linux OpenStack Platform 3.

The Red Hat Security Response Team has rated this update as having
Important security impact. Common Vulnerability Scoring System (CVSS) base
scores, which give detailed severity ratings, are available for each
vulnerability from the CVE links in the References section.

YAML is a data serialization format designed for human readability and
interaction with scripting languages. LibYAML is a YAML parser and emitter
written in C.

A buffer overflow flaw was found in the way the libyaml library parsed URLs
in YAML documents. An attacker able to load specially crafted YAML input to
an application using libyaml could cause the application to crash or,
potentially, execute arbitrary code with the privileges of the user running
the application. (CVE-2014-2525)

An integer overflow flaw was found in the way the libyaml library handled
excessively long YAML tags. An attacker able to load specially crafted YAML
input to application using libyaml could cause the application to crash or,
potentially, execute arbitrary code with the privileges of the user running
the application. (CVE-2013-6393)

Red Hat would like to thank oCERT for reporting the CVE-2014-2525 issue.
oCERT acknowledges Ivan Fratric of the Google Security Team as the original
reporter. The CVE-2013-6393 issue was discovered by Florian Weimer of the
Red Hat Product Security Team.

All libyaml users are advised to upgrade to these updated packages, which
contain backported patches to correct these issues. All running
applications linked against the libyaml library must be restarted for this
update to take effect.


Solution

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/site/articles/11258

Updated packages

Red Hat OpenStack 3.0

SRPMS:
libyaml-0.1.3-1.4.el6.src.rpm     MD5: fee220abf54c18da2c74c69e7d1e6810
SHA-256: 84dfcd0a26ec9c00ac4621806fb3086c998fb13ffacea1a6946b34203e38b026
 
x86_64:
libyaml-0.1.3-1.4.el6.x86_64.rpm     MD5: ff836845ec0068233d413634b5cb11d6
SHA-256: 5d9022bbf6f3a243dae35c2eda0892d02172fc628fe8dd7eb4a2a836e9447ea6
libyaml-debuginfo-0.1.3-1.4.el6.x86_64.rpm     MD5: 2da25fab0654a51200220c931f50fb94
SHA-256: 9de5a49e272f1e82b11e5ef02c8c60f5b004688789cedc313ef3e5f756579515
libyaml-devel-0.1.3-1.4.el6.x86_64.rpm     MD5: 0156d33ceb2c565a9ed56c2779b3995c
SHA-256: 5500a3be375f50a4fed25fd0dcfc8e0ab569bb12378834852b558c1f1a95631a
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

1033990 - CVE-2013-6393 libyaml: heap-based buffer overflow when parsing YAML tags
1078083 - CVE-2014-2525 libyaml: heap-based buffer overflow when parsing URLs


References



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/