CVE-2021-28906 Null dereference in n/a
A null pointer dereference in libyang allows attackers to cause a denial of service via crafted input.
- 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-28906?
CVE-2021-28906 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 read_yin_leaf() in libyang <= v1.0.225, it doesn't check whether the value of retval->ext[r] is NULL. In some cases, it can be NULL, which leads to the operation of retval->ext[r]->flags that results in a crash.
Weakness: CWE-252
Which versions are affected by CVE-2021-28906?
It affects 1 product.
Products include Cesnet Libyang.
How do I fix CVE-2021-28906?
Upgrade to a fixed version.
Is CVE-2021-28906 being exploited?
There is no known exploitation of CVE-2021-28906 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2021-28906, GHSA-gf49-5jg3-x68p, UBUNTU-CVE-2021-28906.