All CVEs / Rust-base64 Project
CVE-2017-1000430Rust-base64 Project Rust-base64
Critical 9.8 No auth needed
- Priority
- 74
- CVSS 3.0
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Jan 2, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-119
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
rust-base64 version <= 0.5.1 is vulnerable to a buffer overflow when calculating the size of a buffer to use when encoding base64 using the 'encode_config_buf' and 'encode_config' functions
What to do
- Apply the vendor's security update for Rust-base64.
- 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 | base64 |
< 0.5.2 |
0.5.2 |
cargo update -p base64 --precise 0.5.2 |
| crates.io | base64 |
≥ 0.0.0-0 < 0.5.2 |
0.5.2 |
cargo update -p base64 --precise 0.5.2 |
Per OSV / GitHub Advisories (GHSA-x67x-vg9m-65c3, RUSTSEC-2017-0004). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rust-base64_project | rust-base64 | ≤ 0.5.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory