Red Hat 9041 Published by

A libyang security update has been released for Red Hat Enterprise Linux 8



=====================================================================
Red Hat Security Advisory

Synopsis: Important: libyang security update
Advisory ID: RHSA-2019:4360-01
Product: Red Hat Enterprise Linux
Advisory URL: https://access.redhat.com/errata/RHSA-2019:4360
Issue date: 2019-12-23
CVE Names: CVE-2019-19333 CVE-2019-19334
=====================================================================

1. Summary:

An update for libyang is now available for Red Hat Enterprise Linux 8.

Red Hat Product Security has rated this update as having a security impact
of Important. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available for each vulnerability
from the CVE link(s) in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AppStream (v. 8) - aarch64, ppc64le, s390x, x86_64

3. Description:

The libyang package provides a library for YANG data modeling language.
libyang is a YANG data modelling language parser and toolkit written (and
providing API) in C. The library is used e.g. in libnetconf2, Netopeer2,
sysrepo and FRRouting projects.

Security Fix(es):

* libyang: stack-based buffer overflow in make_canonical when bits leaf
type is used (CVE-2019-19333)

* libyang: stack-based buffer overflow in make_canonical when identityref
leaf type is used (CVE-2019-19334)

For more details about the security issue(s), including the impact, a CVSS
score, acknowledgments, and other related information, refer to the CVE
page(s) listed in the References section.

IMPORTANT:

The libyang-devel sub-package has recently been removed from the AppStream
repository. If you have previously installed libyang-devel, remove it prior
to applying this advisory to make the update successful.

4. Solution:

If you have previously installed libyang-devel, remove it prior to applying
this advisory to make the update successful.

For details on how to apply this update, which includes the changes
described in this advisory, refer to:

https://access.redhat.com/articles/11258

5. Bugs fixed ( https://bugzilla.redhat.com/):

1779573 - CVE-2019-19333 libyang: stack-based buffer overflow in make_canonical when bits leaf type is used
1779576 - CVE-2019-19334 libyang: stack-based buffer overflow in make_canonical when identityref leaf type is used

6. Package List:

Red Hat Enterprise Linux AppStream (v. 8):

Source:
libyang-0.16.105-3.el8_1.2.src.rpm

aarch64:
libyang-0.16.105-3.el8_1.2.aarch64.rpm
libyang-cpp-debuginfo-0.16.105-3.el8_1.2.aarch64.rpm
libyang-debuginfo-0.16.105-3.el8_1.2.aarch64.rpm
libyang-debugsource-0.16.105-3.el8_1.2.aarch64.rpm
python3-libyang-debuginfo-0.16.105-3.el8_1.2.aarch64.rpm

ppc64le:
libyang-0.16.105-3.el8_1.2.ppc64le.rpm
libyang-cpp-debuginfo-0.16.105-3.el8_1.2.ppc64le.rpm
libyang-debuginfo-0.16.105-3.el8_1.2.ppc64le.rpm
libyang-debugsource-0.16.105-3.el8_1.2.ppc64le.rpm
python3-libyang-debuginfo-0.16.105-3.el8_1.2.ppc64le.rpm

s390x:
libyang-0.16.105-3.el8_1.2.s390x.rpm
libyang-cpp-debuginfo-0.16.105-3.el8_1.2.s390x.rpm
libyang-debuginfo-0.16.105-3.el8_1.2.s390x.rpm
libyang-debugsource-0.16.105-3.el8_1.2.s390x.rpm
python3-libyang-debuginfo-0.16.105-3.el8_1.2.s390x.rpm

x86_64:
libyang-0.16.105-3.el8_1.2.i686.rpm
libyang-0.16.105-3.el8_1.2.x86_64.rpm
libyang-cpp-debuginfo-0.16.105-3.el8_1.2.i686.rpm
libyang-cpp-debuginfo-0.16.105-3.el8_1.2.x86_64.rpm
libyang-debuginfo-0.16.105-3.el8_1.2.i686.rpm
libyang-debuginfo-0.16.105-3.el8_1.2.x86_64.rpm
libyang-debugsource-0.16.105-3.el8_1.2.i686.rpm
libyang-debugsource-0.16.105-3.el8_1.2.x86_64.rpm
python3-libyang-debuginfo-0.16.105-3.el8_1.2.i686.rpm
python3-libyang-debuginfo-0.16.105-3.el8_1.2.x86_64.rpm

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

7. References:

https://access.redhat.com/security/cve/CVE-2019-19333
https://access.redhat.com/security/cve/CVE-2019-19334
https://access.redhat.com/security/updates/classification/#important

8. Contact:

The Red Hat security contact is . More contact
details at https://access.redhat.com/security/team/contact/

Copyright 2019 Red Hat, Inc.