Live threats
VulnFox

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Rust-base64.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
rust-base64_projectrust-base64≤ 0.5.1

Official sources

References

Links published by the sources. Open them with care.