CVE-2020-35875Tokio-rustls
High 7.5 No auth needed
Follow: this CVE · Tokio · Tokio-rustls We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 72
- Auth required
- No
- Published
- Dec 31, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
An issue was discovered in the tokio-rustls crate before 0.13.1 for Rust. Excessive memory usage may occur when data arrives quickly.
What to do
- Apply the vendor's security update for Tokio-rustls.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | tokio-rustls |
≥ 0.12.0 < 0.12.3 |
0.12.3 |
cargo update -p tokio-rustls --precise 0.12.3 |
| crates.io | tokio-rustls |
≥ 0.13.0 < 0.13.1 |
0.13.1 |
cargo update -p tokio-rustls --precise 0.13.1 |
| crates.io | tokio-rustls |
≥ 0.12.0 < 0.12.3 |
0.12.3 |
cargo update -p tokio-rustls --precise 0.12.3 |
| crates.io | tokio-rustls |
≥ 0.13.0 < 0.13.1 |
0.13.1 |
cargo update -p tokio-rustls --precise 0.13.1 |
Per OSV / GitHub Advisories (GHSA-2jfv-g3fh-xq3v, RUSTSEC-2020-0019). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| tokio | tokio-rustls | < 0.13.1 |
Official sources
References
Links published by the sources. Open them with care.
- rustsec.org Patch Third Party Advisory