Buffer overflow in Cesnet Libyang
CVE-2019-20391
An invalid memory access flaw is present in libyang before v1.0-r3 in the function resolve_feature_value() when an if-feature statement is used inside a bit. Applications that use libyang to parse untrusted input yang files may crash.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.019, 79.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Cesnet Libyang — versions 0.11, 0.12, 0.13
Weakness classification (CWE)
References
- github.com/CESNET/libyang/commit/bdb596ddc07596fa212f231135b87d0b9178f6f8 (Patch, Third Party Advisory)
- github.com/CESNET/libyang/issues/772 (Exploit, Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- github.com/CESNET/libyang/compare/v1.0-r2...v1.0-r3 (Third Party Advisory)
- [debian-lts-announce] 20230919 [SECURITY] [DLA 3572-1] libyang security update (mailing-list)