CVE-2017-1000430 json
Integer overflow in base64
published 2017-05-03 9 y ago modified 2026-06-17 4 mo ago also GHSA-x67x-vg9m-65c3 , RUSTSEC-2017-0004 , EUVD-2021-1929
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
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
Patch / fix
Exploit prediction
1.53% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | base64 | <0.5.2 >=0.0.0-0, <0.5.2 |
0.5.2 |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
github.com
/alicemaz/rust-base64/commit/24ead980daf11ba563e4fb2516187a56a71ad319
web
-
github.com
/RustSec/advisory-db/blob/master/crates/base64/RUSTSEC-2017-0004.toml
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2017-1000430
advisory
-
github.com
/alicemaz/rust-base64
package
-
rustsec.org
/advisories/RUSTSEC-2017-0004.html
web, advisory
-
crates.io
/crates/base64
package
Sources
- CVE List CVE-2017-1000430
- GitHub Advisory GHSA-x67x-vg9m-65c3
- NVD CVE-2017-1000430
- OSV RUSTSEC-2017-0004
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.