CVE-2019-20392

medium

Description

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.

References

https://lists.debian.org/debian-lts-announce/2023/09/msg00019.html

https://github.com/CESNET/libyang/compare/v0.16-r3...v1.0-r1

https://github.com/CESNET/libyang/commit/32fb4993bc8bb49e93e84016af3c10ea53964be5

https://bugzilla.redhat.com/show_bug.cgi?id=1793922

Details

Source: Mitre, NVD

Published: 2020-01-22

Updated: 2023-09-19

Risk Information

CVSS v2

Base Score: 4.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P

Severity: Medium

CVSS v3

Base Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Severity: Medium