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, 90.4th percentile (scored ); unchanged over 30 days. About EPSS.
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 exploits and proof-of-concept code
Also mentioned in 1 other repository (Mohamad-Alhamwi/SAST_With_SRE). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- github.com/CESNET/libyang/commit/6980afae2ff9fcd6d67508b0a3f694d75fd059d6 (Patch, Third Party Advisory)
- FEDORA-2019-dfe0b42bc5 (vendor-advisory)
- FEDORA-2019-9d83929ffa (vendor-advisory)
- RHSA-2019:4360 (vendor-advisory)