CVE-2017-1000430
Integer overflow in base64
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA.
Description
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
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| cargo::GitHub Security Advisory Rust | base64 | 0.5.2 |
References
- https://github.com/RustSec/advisory-db/blob/master/crates/base64/RUSTSEC-2017-0004.toml
- https://github.com/alicemaz/rust-base64
- https://github.com/alicemaz/rust-base64/commit/24ead980daf11ba563e4fb2516187a56a71ad319
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000430
- https://rustsec.org/advisories/RUSTSEC-2017-0004.html