7.5high
CVE-2019-25005
Counter overflow in chacha20
Also known as GHSA-j2r6-2m5c-vgh5, RUSTSEC-2019-0029
Published 7 y ago · modified 4 mo ago · JSON
CVSS
7.5
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
1.3%
percentile 71%
Public exploits
0
none known
Summary
An issue was discovered in the chacha20 crate before 0.2.3 for Rust. A ChaCha20 counter overflow makes it easier for attackers to determine plaintext.
Exploit prediction (EPSS)
1.32% probability of exploitation in the next 30 days, higher than 71% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| crates.io | chacha20 | <0.2.3 >=0.0.0-0, <0.2.3 | 0.2.3 |
Classification
- Weakness
- CWE-190 Integer Overflow or Wraparound
References
- rustsec.org /advisories/RUSTSEC-2019-0029.html · x_refsource_MISC, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2019-25005 · advisory
- github.com /RustCrypto/stream-ciphers/pull/64 · web
- github.com /RustCrypto/stream-ciphers/tree/master/chacha20 · package
- crates.io /crates/chacha20 · package
Sources
- CVE List: CVE-2019-25005
- GitHub Advisory: GHSA-j2r6-2m5c-vgh5
- NVD: CVE-2019-25005
- OSV: RUSTSEC-2019-0029
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.