CVE-2021-28903 Denial of service in n/a
A stack overflow in libyang allows attackers to cause a denial of service via recursive XML parsing, impacting applications using this library.
- 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-28903?
CVE-2021-28903 is a high-severity denial of service 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
A stack overflow in libyang <= v1.0.225 can cause a denial of service through function lyxml_parse_mem(). lyxml_parse_elem() function will be called recursively, which will consume stack space and lead to crash.
Weakness: CWE-674
Which versions are affected by CVE-2021-28903?
It affects 1 product.
Products include Cesnet Libyang.
How do I fix CVE-2021-28903?
Upgrade to a fixed version.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2021-28903 being exploited?
There is no known exploitation of CVE-2021-28903 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2021-28903, GHSA-vr34-263x-7q3r, UBUNTU-CVE-2021-28903.