Buffer overflow in Cesnet Libyang
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 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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.036, 89.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Cesnet Libyang — versions 0.11, 0.12, 0.13
- Red Hat Libyang — versions libyang all versions before 1.0-r5
- Red Hat Enterprise Linux — versions 8.0
Weakness classification (CWE)
References
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- github.com/CESNET/libyang/commit/f6d684ade99dd37b21babaa8a856f64faa1e2e0d (Patch, Third Party Advisory)
- FEDORA-2019-dfe0b42bc5 (vendor-advisory)
- FEDORA-2019-9d83929ffa (vendor-advisory)
- RHSA-2019:4360 (vendor-advisory)