CVE-2021-28904

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-28904
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-28904.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-28904
Downstream
Related
Published
2021-05-20T19:15:07Z
Modified
2025-09-19T12:45:59.062829Z
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

Git / github.com/cesnet/libyang

Affected ranges

Type
GIT
Repo
https://github.com/cesnet/libyang
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected

Affected versions

v0.*

v0.11-r1
v0.11-r2
v0.12-r1
v0.12-r2
v0.13-r1
v0.13-r2
v0.14-r1
v0.15-r1
v0.16-r1
v0.16-r2
v0.16-r3

v1.*

v1.0-r1
v1.0-r2
v1.0-r3
v1.0-r4
v1.0-r5
v1.0.109
v1.0.130
v1.0.167
v1.0.176
v1.0.184
v1.0.215
v1.0.225