# CVE-2017-20004

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-04-14 · Modified: 2024-08-05
- Aliases: UBUNTU-CVE-2017-20004, DEBIAN-CVE-2017-20004
- Record: https://cvemate.com/vulnerability/CVE-2017-20004 · JSON: https://cvemate.com/vulnerability/CVE-2017-20004/json

## Description

```text
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.
```

## Signals

- CVSS: 5.9 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.799%, percentile 57.876%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian rustc (Debian): \< 1.19.0+dfsg3-2
- ubuntu rustc (Ubuntu): \< 1.47.0+dfsg1+llvm-1ubuntu1~18.04.1
- rust-lang rust: \< 1.19.0

## References

- <https://github.com/rust-lang/rust/issues/41622>
- <https://github.com/rust-lang/rust/pull/41624>
- <https://ubuntu.com/security/CVE-2017-20004>
- <https://www.cve.org/CVERecord?id=CVE-2017-20004>
- <https://security-tracker.debian.org/tracker/CVE-2017-20004>

---

Data as of 2026-12-05T10:00:44.763Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
