CVE-2019-20393

NameCVE-2019-20393
DescriptionA double-free is present in libyang before v1.0-r1 in the function yyparse() when an empty description is used. Applications that use libyang to parse untrusted input yang files may be vulnerable to this flaw, which would cause a crash or potentially code execution.
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=1793930
https://github.com/CESNET/libyang/commit/d9feacc4a590d35dbc1af21caf9080008b4450ed
https://github.com/CESNET/libyang/issues/742

Search for package or bug name: Reporting problems