CVE-2019-20398

NameCVE-2019-20398
DescriptionA NULL pointer dereference is present in libyang before v1.0-r3 in the function lys_extension_instances_free() due to a copy of unresolved extensions in lys_restr_dup(). Applications that use libyang to parse untrusted input yang files may crash.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3572-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libyang (PTS)bullseye1.0.225-1.1fixed
sid, trixie3.4.2+dfsg-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libyangsourceexperimental1.0.167-1
libyangsourcebuster0.16.105+really1.0-0+deb10u1DLA-3572-1
libyangsource(unstable)1.0.176-1

Notes

https://bugzilla.redhat.com/show_bug.cgi?id=1793935
https://github.com/CESNET/libyang/commit/7852b272ef77f8098c35deea6c6f09cb78176f08
https://github.com/CESNET/libyang/issues/773

Search for package or bug name: Reporting problems