Buffer overflow in Cesnet Libyang
CVE-2019-20392
An invalid memory access flaw is present in libyang before v1.0-r1 in the function resolve_feature_value() when an if-feature statement is used inside a list key node, and the feature used is not defined. 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/32fb4993bc8bb49e93e84016af3c10ea53964be5 (Patch, Third Party Advisory)
- github.com/CESNET/libyang/issues/723 (Exploit, Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1 (Third Party Advisory)
- [debian-lts-announce] 20230919 [SECURITY] [DLA 3572-1] libyang security update (mailing-list)