critical9.8
CVE-2021-38187
Incorrect cast in anymap
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rust | anymap | <= 0.12.1 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Anymap Project | Anymap | through 0.12.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/anymap/RUSTSEC-2021-0065.md
- https://rustsec.org/advisories/RUSTSEC-2021-0065.html
- https://github.com/advisories/GHSA-hc92-9h3m-c39j
- https://nvd.nist.gov/vuln/detail/CVE-2021-38187
- https://github.com/chris-morgan/anymap/issues/37