An issue was discovered in the sha2 crate 0.9.7 before 0.9.8 for Rust.
Priority MEDIUM 44CWE-327Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-327.
Summary
An issue was discovered in the sha2 crate 0.9.7 before 0.9.8 for Rust. Hashes of long messages may be incorrect when the AVX2-accelerated backend is used.
Why it matters now
EPSS 0.00831 57th percentileScored 2026-11-07
Fix Fixed sha2 (crates.io): 0.9.8
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | sha2 (crates.io) | 0.9.7 to before 0.9.8 | 0.9.8 | Patch available | GHSA-fc7x-2cmc-8j2g |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- sha2 (crates.io) Vendor— Affected 0.9.7 to before 0.9.8 Fixed in 0.9.8 Patch available GHSA-fc7x-2cmc-8j2g
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:sha2_project:sha2:0.9.7:*:*:*:*:rust:*:* | 0.9.7 | Vulnerable | Sha2 Project |
- cpe:2.3:a:sha2_project:sha2:0.9.7:*:*:*:*:rust:*:* Versions 0.9.7 Vulnerable ·Sha2 Project
Remediation
- Fix · GHSA-fc7x-2cmc-8j2g sha2 (crates.io) Fixed in 0.9.8 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-45696
- 2026-10-03 Alias added: GHSA-fc7x-2cmc-8j2g
References
Sources
- CVE-2021-45696 · CVE Program
- CVE-2021-45696 · NVD
- FIRST EPSS
- GHSA-fc7x-2cmc-8j2g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences