DEBIAN-CVE-2021-28904

Source
https://security-tracker.debian.org/tracker/CVE-2021-28904
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-28904.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2021-28904
Upstream
Published
2021-05-20T19:15:07Z
Modified
2025-09-30T05:14:22.830681Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In function extgetplugin() 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.

References

Affected packages

Debian:11 / libyang

Package

Name
libyang
Purl
pkg:deb/debian/libyang?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.0.225-1.1

3.*

3.4.2+dfsg-2
3.7.8-1
3.7.8-2
3.7.8-3
3.7.8-4
3.7.8-5
3.12.2-1
3.13.5-1
3.13.5-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / libyang

Package

Name
libyang
Purl
pkg:deb/debian/libyang?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.2+dfsg-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / libyang

Package

Name
libyang
Purl
pkg:deb/debian/libyang?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.2+dfsg-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}