{"id":"UBUNTU-CVE-2018-25008","details":"In the standard library in Rust before 1.29.0, there is weak synchronization in the Arc::get_mut method. This synchronization issue can be lead to memory safety issues through race conditions.","modified":"2025-07-16T07:38:32.895901Z","published":"2021-04-14T07:15:00Z","withdrawn":"2025-07-18T16:44:52Z","upstream":["CVE-2018-25008"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-25008"},{"type":"REPORT","url":"https://github.com/rust-lang/rust/issues/51780"},{"type":"REPORT","url":"https://github.com/rust-lang/rust/pull/52031"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-25008"}],"affected":[{"package":{"name":"rustc","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/rustc@1.47.0+dfsg1+llvm-1ubuntu1~18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.47.0+dfsg1+llvm-1ubuntu1~18.04.1"}]}],"versions":["1.18.0+dfsg1-4ubuntu1","1.24.1+dfsg1+llvm-0ubuntu1","1.24.1+dfsg1+llvm-0ubuntu2","1.25.0+dfsg1+llvm-0ubuntu1","1.28.0+dfsg1+llvm-0ubuntu1~18.04.1","1.30.0+dfsg1+llvm-2ubuntu1~18.04.1","1.31.0+dfsg1+llvm-2ubuntu1~18.04.1","1.32.0+dfsg1+llvm-1ubuntu1~18.04.1","1.34.1+dfsg2+llvm-0ubuntu1~18.04.1","1.35.0+dfsg0.1+llvm-0ubuntu1~18.04.1","1.36.0+dfsg1+llvm-2ubuntu1~18.04.1","1.37.0+dfsg1+llvm-1ubuntu1~18.04.1","1.39.0+dfsg1+llvm-3ubuntu1~18.04.1","1.41.0+dfsg1+llvm-0ubuntu1~18.04.1","1.43.0+dfsg1+llvm-1~exp1ubuntu2~18.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.47.0+dfsg1+llvm-1ubuntu1~18.04.1","binary_name":"libstd-rust-1.47"},{"binary_version":"1.47.0+dfsg1+llvm-1ubuntu1~18.04.1","binary_name":"libstd-rust-1.47-dbgsym"},{"binary_version":"1.47.0+dfsg1+llvm-1ubuntu1~18.04.1","binary_name":"libstd-rust-dev"},{"binary_version":"1.47.0+dfsg1+llvm-1ubuntu1~18.04.1","binary_name":"rust-doc"},{"binary_version":"1.47.0+dfsg1+llvm-1ubuntu1~18.04.1","binary_name":"rust-gdb"},{"binary_version":"1.47.0+dfsg1+llvm-1ubuntu1~18.04.1","binary_name":"rust-lldb"},{"binary_version":"1.47.0+dfsg1+llvm-1ubuntu1~18.04.1","binary_name":"rust-src"},{"binary_version":"1.47.0+dfsg1+llvm-1ubuntu1~18.04.1","binary_name":"rustc"},{"binary_version":"1.47.0+dfsg1+llvm-1ubuntu1~18.04.1","binary_name":"rustc-dbgsym"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-25008.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}