CVE-2021-28904

libyang: NULL pointer dereference in ext_get_plugin()

Published May 20, 2021 CVSS 3.1 · 7.5 High EPSS 1.4% KEV · Not listed
Description
In 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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-15557 In 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.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 9:55 PM
Reserved
Mar 19, 2021, 12:00 AM
Status
Modified
Published
May 20, 2021, 7:15 PM
Modified
Jun 17, 2026, 3:47 AM
Severity
Moderate
Public date
Mar 7, 2021, 12:00 AM