{"id":"UBUNTU-CVE-2021-38187","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.","modified":"2026-03-13T17:52:27.222843Z","published":"2021-08-08T06:15:00Z","withdrawn":"2026-03-13T15:04:58Z","upstream":["CVE-2021-38187"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-38187"},{"type":"REPORT","url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/anymap/RUSTSEC-2021-0065.md"},{"type":"REPORT","url":"https://rustsec.org/advisories/RUSTSEC-2021-0065.html"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-38187"}],"affected":[{"package":{"name":"rust-anymap","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/rust-anymap@0.12.1-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.12.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-anymap-dev","binary_version":"0.12.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-38187.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}