CVE-2021-28904 Null dereference in n/a

High 7.5 Published Updated

A null pointer dereference in libyang allows attackers to cause a denial of service via a crafted input with a NULL revision value.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-28904?

CVE-2021-28904 is a high-severity vulnerability in n/a, published on 20 May 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-252

Which versions are affected by CVE-2021-28904?

It affects 1 product.

Products include Cesnet Libyang.

How do I fix CVE-2021-28904?

Upgrade to a fixed version.

Is CVE-2021-28904 being exploited?

There is no known exploitation of CVE-2021-28904 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2021-28904, GHSA-wqxj-4m27-ccp4, UBUNTU-CVE-2021-28904.

Is CVE-2021-28904 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free