CVE-2021-45709Crypto2 Project Crypto2
Critical 9.8 No auth needed
Follow: this CVE · Crypto2 Project · Crypto2 Project Crypto2 We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 52
- Auth required
- No
- Published
- Dec 27, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-119
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
An issue was discovered in the crypto2 crate through 2021-10-08 for Rust. During Chacha20 encryption and decryption, an unaligned read of a u32 may occur.
What to do
- Apply the vendor's security update for Crypto2.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | crypto2 |
≤ 0.1.2 |
no fixed version | — |
| crates.io | crypto2 |
≤ 0.1.2 |
no fixed version | — |
| crates.io | crypto2 |
≥ 0.0.0-0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-9hfg-pxr6-q4vp, GHSA-pmcv-mgcf-rvxg, RUSTSEC-2021-0121). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| crypto2_project | crypto2 | all |
Official sources
References
Links published by the sources. Open them with care.
- raw.githubusercontent.com Third Party Advisory
- rustsec.org Third Party Advisory