Skip to content

CVE-2019-19333 In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type "bits". An application that uses libyang to parse untrus...

CriticalCVSS 9.8 EPSS 3.6%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebianRed Hat

Description

In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type "bits". An application that uses libyang to parse untrusted YANG files may be vulnerable to this flaw, which would allow an attacker to cause a denial of service or possibly gain code execution.

Upgrade path

6 packages: 3 fixed.

PackageAffectedFixed inStatus
debian/libyang(Debian 13) < 0.16.105-2 0.16.105-2 Fixed
debian/libyang(Debian 14) < 0.16.105-2 0.16.105-2 Fixed
ubuntu/libyang(Ubuntu 20.04) < 0.16.105-2; = 0.16.105-1 0.16.105-2 Fixed
cesnet libyang = 0.11-r1; = 0.11-r2; = 0.12-r1; = 0.12-r2 +11 more No fix listed Versions listed
redhat enterprise linux = 8.0 No fix listed Versions listed
redhat/libyang = libyang all versions before 1.0-r5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/libyang(Debian:13) < 0.16.105-2 0.16.105-2
debian/libyang(Debian:14) < 0.16.105-2 0.16.105-2
cesnet libyang = 0.11-r1 No fix listed
cesnet libyang = 0.11-r2 No fix listed
cesnet libyang = 0.12-r1 No fix listed
cesnet libyang = 0.12-r2 No fix listed
cesnet libyang = 0.13-r1 No fix listed
cesnet libyang = 0.13-r2 No fix listed
cesnet libyang = 0.14-r1 No fix listed
cesnet libyang = 0.15-r1 No fix listed
cesnet libyang = 0.16-r1 No fix listed
cesnet libyang = 0.16-r2 No fix listed
cesnet libyang = 0.16-r3 No fix listed
cesnet libyang = 1.0-r1 No fix listed
cesnet libyang = 1.0-r2 No fix listed
cesnet libyang = 1.0-r3 No fix listed
cesnet libyang = 1.0-r4 No fix listed
redhat enterprise linux = 8.0 No fix listed
redhat/libyang = libyang all versions before 1.0-r5 No fix listed
ubuntu/libyang(Ubuntu:20.04) < 0.16.105-2 0.16.105-2
ubuntu/libyang(Ubuntu:20.04) = 0.16.105-1 No fix listed

References