CVE-2021-28904

NameCVE-2021-28904
DescriptionIn function ext_get_plugin() in libyang <= v1.0.225, it doesn't check whether the value of revision is NULL. If revision is NULL, the operation of strcmp(revision, ext_plugins[u].revision) will lead to a crash.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs989060

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libyang (PTS)bullseye1.0.225-1.1vulnerable
sid, trixie3.4.2+dfsg-2fixed
libyang2 (PTS)bookworm2.1.30-2fixed
sid, trixie2.1.148-0.2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libyangsource(unstable)3.4.2+dfsg-2989060
libyang2source(unstable)(not affected)

Notes

- libyang2 <not-affected> (Fixed before initial upload)
[bullseye] - libyang <no-dsa> (Minor issue)
[buster] - libyang <no-dsa> (Minor issue)
https://github.com/CESNET/libyang/issues/1451
https://github.com/CESNET/libyang/commit/59a0bff1a5a2f0a0eac07e4bf94d4aea9dd3708d (v1.0.253)
src:libyang was removed and later re-introduced as src:libyang with version 3

Search for package or bug name: Reporting problems