VDB
CVE-2018-21000
CVE-2018-21000
PUBLISHED
CVSS 9.800000190734863 CRITICAL
Heap overflow or corruption in safe-transmute
Reported by mitre · Published August 26, 2019
safe-transmute is fixed in 0.10.1 and 0.4.0 (crates.io)
An issue was discovered in the safe-transmute crate before 0.10.1 for Rust. A constructor's arguments are in the wrong order, causing heap memory corruption.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| safe-transmute | crates.io | 0.10.1, 0.4.0 |
Risk scores
CVSS 3.0
9.800000190734863
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| crates.io | safe-transmute | 0.4.0 |
Timeline
- Aug 26, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Jun 13, 2023 CVE Updated
- Mar 17, 2026 Security Advisory
- Sep 21, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-21000
vulnetix vdb fixes CVE-2018-21000
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-21000/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2018-21000 advisory
- https://github.com/advisories/GHSA-2v78-j59h-fmpf advisory
- https://github.com/nabijaczleweli/safe-transmute-rs/commit/a134e06d740f9d7c287f74c0af2cd06206774364 patch
- https://github.com/nabijaczleweli/safe-transmute-rs url