CVE-2021-25904 Null pointer deference in av-data
A null pointer dereference in the av-data Rust crate allows attackers to cause a segmentation fault and denial of service.
- 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-25904?
CVE-2021-25904 is a high-severity vulnerability in n/a, published on 22 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in the av-data crate before 0.3.0 for Rust. A raw pointer is dereferenced, leading to a read of an arbitrary memory address, sometimes causing a segfault.
Weakness: CWE-476
Which versions are affected by CVE-2021-25904?
3 open source packages ship an affected version, including av-data. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
av-data crates.io | All versions | 0.3.0 |
av-data crates.io | All versions | 0.3.0 |
av-data crates.io | From 0.0.0-0 | 0.3.0 |
Products include Av-Data Project Av-Data.
How do I fix CVE-2021-25904?
Upgrade av-data to 0.3.0 or later.
Is CVE-2021-25904 being exploited?
There is no known exploitation of CVE-2021-25904 in the wild and no public exploit code.
Sources
Also known as GHSA-352p-rhvq-7g78, RUSTSEC-2021-0007.