CVE-2020-36323Rust-lang Rust
High 8.2 No auth needed
Follow: this CVE · Rust-lang · Rust-lang Rust We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.2
- EPSS
- 2.0% probability of exploitation in 30 days · percentile 82
- Auth required
- No
- Published
- Apr 14, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-134
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
What happens
In the standard library in Rust before 1.52.0, there is an optimization for joining strings that can cause uninitialized bytes to be exposed (or the program to crash) if the borrowed string changes after its length is checked.
What to do
- Apply the vendor's security update for Rust.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rust-lang | rust | < 1.52.0 |
| fedoraproject | fedora | 32 |
| fedoraproject | fedora | 33 |
| fedoraproject | fedora | 34 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org