
CVE catalog
CVE-2017-20004
rustc: CVE-2017-20004
- Severity
- Medium · CVSS 5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.80% · Oct 25, 2026
In the standard library in Rust before 1.19.0, there is a synchronization problem in the MutexGuard object. MutexGuards can be used across threads with any types, allowing for memory safety issues through race conditions.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | rustc | sid | 1.97.1+dfsg1-1 | fixed |
| Debian | rustc | forky | 1.97.1+dfsg1-1 | fixed |
| Debian | rustc | trixie | 1.85.1+dfsg1-1+deb13u1 | fixed |
| Debian | rustc | bookworm | 1.63.0+dfsg1-2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rustc | source | sid | 1.19.0+dfsg3-2 | not yet assigned | Not reported | Not reported |
| Debian | rustc | source | forky | 1.19.0+dfsg3-2 | not yet assigned | Not reported | Not reported |
| Debian | rustc | source | trixie | 1.19.0+dfsg3-2 | not yet assigned | Not reported | Not reported |
| Debian | rustc | source | bookworm | 1.19.0+dfsg3-2 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libstd-rust-1.63]Fixed
Source package: [rustc]
Details (2)
1.63.0+dfsg1-2· amd64 · bookwormFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · bookworm; dsa · rustc · debian · 12
1.63.0+dfsg1-2· arm64 · bookwormFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · bookworm; dsa · rustc · debian · 12
- [libstd-rust-dev]Fixed
Source package: [rustc]
Details (2)
1.63.0+dfsg1-2· amd64 · bookwormFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · bookworm; dsa · rustc · debian · 12
1.63.0+dfsg1-2· arm64 · bookwormFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · bookworm; dsa · rustc · debian · 12
- [libstd-rust-dev-wasm32]Fixed
Source package: [rustc]
Details (2)
1.63.0+dfsg1-2· all · bookwormFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · bookworm; dsa · rustc · debian · 12
1.63.0+dfsg1-2· all · bookwormFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · bookworm; dsa · rustc · debian · 12
- [libstd-rust-dev-windows]Fixed
Source package: [rustc]
Details (1)
1.63.0+dfsg1-2· amd64 · bookwormFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · bookworm; dsa · rustc · debian · 12
- [rust-all]Fixed
Source package: [rustc]
Details (2)
1.63.0+dfsg1-2· all · bookwormFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · bookworm; dsa · rustc · debian · 12
1.63.0+dfsg1-2· all · bookwormFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · bookworm; dsa · rustc · debian · 12
- [rustc]Fixed
Details (2)
1.63.0+dfsg1-2· amd64 · bookwormFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · bookworm; dsa · rustc · debian · 12
1.63.0+dfsg1-2· arm64 · bookwormFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · bookworm; dsa · rustc · debian · 12
- [rust-clippy]Fixed
Source package: [rustc]
Details (2)
1.63.0+dfsg1-2· amd64 · bookwormFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · bookworm; dsa · rustc · debian · 12
1.63.0+dfsg1-2· arm64 · bookwormFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · bookworm; dsa · rustc · debian · 12
- [rust-doc]Fixed
Source package: [rustc]
Details (2)
1.63.0+dfsg1-2· all · bookwormFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · bookworm; dsa · rustc · debian · 12
1.63.0+dfsg1-2· all · bookwormFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · bookworm; dsa · rustc · debian · 12
- [rustfmt]Fixed
Source package: [rustc]
Details (2)
1.63.0+dfsg1-2· amd64 · bookwormFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · bookworm; dsa · rustc · debian · 12
1.63.0+dfsg1-2· arm64 · bookwormFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · bookworm; dsa · rustc · debian · 12
- [rust-gdb]Fixed
Source package: [rustc]
Details (2)
1.63.0+dfsg1-2· all · bookwormFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · bookworm; dsa · rustc · debian · 12
1.63.0+dfsg1-2· all · bookwormFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · bookworm; dsa · rustc · debian · 12
- [rust-lldb]Fixed
Source package: [rustc]
Details (2)
1.63.0+dfsg1-2· all · bookwormFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · bookworm; dsa · rustc · debian · 12
1.63.0+dfsg1-2· all · bookwormFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · bookworm; dsa · rustc · debian · 12
- [rust-src]Fixed
Source package: [rustc]
Details (2)
1.63.0+dfsg1-2· all · bookwormFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · bookworm; dsa · rustc · debian · 12
1.63.0+dfsg1-2· all · bookwormFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · bookworm; dsa · rustc · debian · 12
[Debian 13 (Trixie)]
- [cargo]Fixed
Source package: [rustc]
Details (4)
1.85.0+dfsg3-1· amd64 · trixieFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.85.0+dfsg3-1· arm64 · trixieFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.94.1+dfsg1-1~bpo13+3· amd64 · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.94.1+dfsg1-1~bpo13+3· arm64 · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
- [cargo-doc]Fixed
Source package: [rustc]
Details (20)
1.85.0+dfsg3-1· all · trixieFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.85.0+dfsg3-1· all · trixieFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.86.0+dfsg1-1~bpo13+2· all · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.86.0+dfsg1-1~bpo13+2· all · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.87.0+dfsg1-1~bpo13+2· all · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.87.0+dfsg1-1~bpo13+2· all · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.88.0+dfsg1-2~bpo13+1· all · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.88.0+dfsg1-2~bpo13+1· all · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.89.0+dfsg1-1~bpo13+2· all · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.89.0+dfsg1-1~bpo13+2· all · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.90.0+dfsg1-1~bpo13+2· all · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.90.0+dfsg1-1~bpo13+2· all · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.91.1+dfsg1-1~bpo13+2· all · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.91.1+dfsg1-1~bpo13+2· all · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.92.0+dfsg1-2~bpo13+1· all · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.92.0+dfsg1-2~bpo13+1· all · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.93.1+dfsg1-2~bpo13+1· all · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.93.1+dfsg1-2~bpo13+1· all · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.94.1+dfsg1-1~bpo13+3· all · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.94.1+dfsg1-1~bpo13+3· all · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
- [libstd-rust-1.85]Fixed
Source package: [rustc]
Details (2)
1.85.0+dfsg3-1· amd64 · trixieFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.85.0+dfsg3-1· arm64 · trixieFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
- [libstd-rust-1.86]Fixed
Source package: [rustc]
Details (2)
1.86.0+dfsg1-1~bpo13+2· amd64 · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.86.0+dfsg1-1~bpo13+2· arm64 · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
- [libstd-rust-1.87]Fixed
Source package: [rustc]
Details (2)
1.87.0+dfsg1-1~bpo13+2· amd64 · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.87.0+dfsg1-1~bpo13+2· arm64 · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
- [libstd-rust-1.88]Fixed
Source package: [rustc]
Details (2)
1.88.0+dfsg1-2~bpo13+1· amd64 · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.88.0+dfsg1-2~bpo13+1· arm64 · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
- [libstd-rust-1.89]Fixed
Source package: [rustc]
Details (2)
1.89.0+dfsg1-1~bpo13+2· amd64 · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.89.0+dfsg1-1~bpo13+2· arm64 · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
- [libstd-rust-1.90]Fixed
Source package: [rustc]
Details (2)
1.90.0+dfsg1-1~bpo13+2· amd64 · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
1.90.0+dfsg1-1~bpo13+2· arm64 · trixie-backportsFixed · Fixed:
1.19.0+dfsg3-2dsa · rustc · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2017-20004]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2017-20004]
- [https://security-tracker.debian.org/tracker/CVE-2017-20004]
- [https://security.access.redhat.com/data/csaf/v2/vex/2017/cve-2017-20004.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]