Skip to content
OpenAdvisories
Critical · 9.8 CVE-2021-38187 EUVD-2021-1744GHSA-hc92-9h3m-c39jRUSTSEC-2021-0065

Incorrect cast in anymap

Published Aug 8, 2021 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 rust-anymap No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling buck2 20250102-r3 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io anymap <= 0.12.1 — GHSA-hc92-9h3m-c39j
crates.io anymap >= 0.0.0-0 — RUSTSEC-2021-0065

References