CVE-2023-42811Aes-gcm Project Aes-gcm
Medium 5.5
Follow: this CVE · Aes-gcm Project · Aes-gcm Project Aes-gcm We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- 0.2% probability of exploitation in 30 days · percentile 7
- Auth required
- Yes
- Published
- Sep 22, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-347
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
aes-gcm is a pure Rust implementation of the AES-GCM. Starting in version 0.10.0 and prior to version 0.10.3, in the AES GCM implementation of decrypt_in_place_detached, the decrypted ciphertext (i.e. the correct plaintext) is exposed even if tag verification fails. If a program using the `aes-gcm` crate's `decrypt_in_place*` APIs accesses the buffer after decryption failure, it will contain a decryption of an unauthenticated input. Depending on the specific nature of the program this may enable Chosen Ciphertext Attacks (CCAs) which can cause a catastrophic breakage of the cipher including full plaintext recovery. Version 0.10.3 contains a fix for this issue.
What to do
- Apply the vendor's security update for Aes-gcm.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | aes-gcm |
≥ 0.10.0 < 0.10.3 |
0.10.3 |
cargo update -p aes-gcm --precise 0.10.3 |
| crates.io | aes-gcm |
≥ 0.10.0 < 0.10.3 |
0.10.3 |
cargo update -p aes-gcm --precise 0.10.3 |
Per OSV / GitHub Advisories (GHSA-423w-p2w9-r7vq, RUSTSEC-2023-0096). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| aes-gcm_project | aes-gcm | ≥ 0.10.0 < 0.10.3 |
| fedoraproject | fedora | 37 |
| fedoraproject | fedora | 38 |
| fedoraproject | fedora | 39 |
Official sources
References
Links published by the sources. Open them with care.
- docs.rs Product
- github.com Exploit Vendor Advisory
- lists.fedoraproject.org Mailing List
- lists.fedoraproject.org Mailing List
- lists.fedoraproject.org Mailing List