Buffer overflow in Cesnet Libyang
CVE-2019-19334
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 "identityref". 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.039 (89.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 90th percentile — 89.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.039 · newest: 0.039 · change: 0.000
Affected products
- Cesnet Libyang — versions 0.11, 0.12, 0.13
- Fedoraproject Fedora — versions 31
- Red Hat Libyang — versions libyang all versions before 1.0-r5
- Red Hat Enterprise Linux — versions 8.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- github.com/CESNET/libyang/commit/6980afae2ff9fcd6d67508b0a3f694d75fd059d6 (Patch, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- access.redhat.com/errata/RHSA-2019:4360 (vendor-advisory)
Frequently asked questions
- What is CVE-2019-19334?
- CVE-2019-19334 is a critical-severity vulnerability in Cesnet Libyang, classified under Stack-based Buffer Overflow. CVSS score: 9.8/10. Published 2019-12-06.
- How severe is CVE-2019-19334?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2019-19334 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.