CVE-2021-38187
9.8 CRITICALAn issue was discovered in the anymap crate through 0.12.1 for Rust
Published: 2021-08-08 · Last updated: 2026-06-17
Severity and scoring
- CVSS
- 9.8 CRITICAL
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CWE
- CWE-681
Affected products
| Vendor | Product |
|---|---|
| anymap_project | anymap |
Description
An issue was discovered in the anymap crate through 0.12.1 for Rust. It violates soundness via conversion of a *u8 to a *u64.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2021-38187
- [Other]https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/anymap/RUSTSEC-2021-0065.md
- [Patch]https://rustsec.org/advisories/RUSTSEC-2021-0065.html
- [Other]https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/anymap/RUSTSEC-2021-0065.md
- [Patch]https://rustsec.org/advisories/RUSTSEC-2021-0065.html
Related CVEs
Same CWE
- CVE-2026-24192 — NVIDIA Display Driver for Linux contains a vulnerability where an attacker could cause an incorrect conversion between numeric types, lea... (7.8 HIGH)
- CVE-2026-4931 — Smart contract Marginal v1 performs unsafe downcast, allowing attackers to settle a large debt position for a negligible asset cost (6.8 MEDIUM)
- CVE-2022-34169 — The Apache Xalan Java XSLT library is vulnerable to an integer truncation issue when processing malicious XSLT stylesheets (7.5 HIGH)
- CVE-2021-3444 — The bpf verifier in the Linux kernel did not properly handle mod32 destination register truncation when the source register was known to ... (7.8 HIGH)