{"id":"GHSA-hc92-9h3m-c39j","summary":"Incorrect cast in anymap","details":"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.","aliases":["CVE-2021-38187","RUSTSEC-2021-0065"],"modified":"2026-09-10T03:49:08.055825059Z","published":"2021-08-25T20:55:45Z","database_specific":{"nvd_published_at":"2021-08-08T06:15:00Z","cwe_ids":["CWE-681","CWE-704"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2021-08-18T21:32:29Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-38187"},{"type":"WEB","url":"https://github.com/chris-morgan/anymap/issues/37"},{"type":"PACKAGE","url":"https://github.com/chris-morgan/anymap"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2021-0065.html"}],"affected":[{"package":{"name":"anymap","ecosystem":"crates.io","purl":"pkg:cargo/anymap"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.12.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-hc92-9h3m-c39j/GHSA-hc92-9h3m-c39j.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}