{"id":"UBUNTU-CVE-2018-21000","details":"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.","modified":"2026-05-20T16:03:38.407691018Z","published":"2019-08-26T15:15:00Z","upstream":["CVE-2018-21000"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-21000"},{"type":"REPORT","url":"https://github.com/nabijaczleweli/safe-transmute-rs/pull/36"},{"type":"REPORT","url":"https://rustsec.org/advisories/RUSTSEC-2018-0013.html"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-21000"}],"affected":[{"package":{"name":"rust-safe-transmute","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/rust-safe-transmute?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.1-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.10.1-2","binary_name":"librust-safe-transmute-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-21000.json"}},{"package":{"name":"rust-safe-transmute","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/rust-safe-transmute?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.10.1-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.10.1-2","binary_name":"librust-safe-transmute-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-21000.json"}},{"package":{"name":"rust-safe-transmute","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/rust-safe-transmute?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.2-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.11.2-1","binary_name":"librust-safe-transmute-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-21000.json"}},{"package":{"name":"rust-safe-transmute","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/rust-safe-transmute?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-safe-transmute-dev","binary_version":"0.11.3-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-21000.json"}},{"package":{"name":"rust-safe-transmute","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/rust-safe-transmute?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.3-1"],"ecosystem_specific":{"binaries":[{"binary_name":"librust-safe-transmute-dev","binary_version":"0.11.3-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-21000.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}