CVE-2021-25904 json
Null pointer deference in av-data
published 2021-01-07 5 y ago modified 2026-06-17 4 mo ago also GHSA-352p-rhvq-7g78 , RUSTSEC-2021-0007 , EUVD-2021-1529
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io av-data 0.3.0
- av-data_project av-data 0.3.0
Exploit prediction
1.34% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- rustsec.org https://rustsec.org/advisories/RUSTSEC-2021-0007.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | av-data | <0.3.0 >=0.0.0-0, <0.3.0 |
0.3.0 |
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
References
-
rustsec.org
/advisories/RUSTSEC-2021-0007.html
web, exploit, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-25904
advisory
-
github.com
/rust-av/rust-av/issues/136
web, report
-
github.com
/rust-av/rust-av
package
-
crates.io
/crates/av-data
package
Sources
- CVE List CVE-2021-25904
- GitHub Advisory GHSA-352p-rhvq-7g78
- NVD CVE-2021-25904
- OSV RUSTSEC-2021-0007
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.