CVE-2023-42811
published medium CVSS 3.1 · 4.7AEADs/aes-gcm: Plaintext exposed in decrypt_in_place_detached even on tag verification failure
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| RustCrypto | — | AEADs>= 0.10.0, < 0.10.3 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | SLE-15-SP5 | rage-encryptionaarch64 | Advisory build | 0.9.2+0-150500.3.3.1 | SUSE-SU-2023:4060-1 |
| SUSE / openSUSE | SLE-15-SP5 | rage-encryptionx86_64 | Advisory build | 0.9.2+0-150500.3.3.1 | SUSE-SU-2023:4060-1 |
| SUSE / openSUSE | SLE-15-SP5 | rage-encryption-bash-completionnoarch | Advisory build | 0.9.2+0-150500.3.3.1 | SUSE-SU-2023:4060-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | rage-encryptionaarch64 | Advisory build | 0.9.2+0-150500.3.3.1 | SUSE-SU-2023:4060-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | rage-encryptionx86_64 | Advisory build | 0.9.2+0-150500.3.3.1 | SUSE-SU-2023:4060-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | rage-encryption-bash-completionnoarch | Advisory build | 0.9.2+0-150500.3.3.1 | SUSE-SU-2023:4060-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | shadowsocks-rustaarch64 | Advisory build | 1.16.2-1.1 | OPENSUSE-SU-2024:13315-1 |
Show 3 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | shadowsocks-rustppc64le | Advisory build | 1.16.2-1.1 | OPENSUSE-SU-2024:13315-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | shadowsocks-rusts390x | Advisory build | 1.16.2-1.1 | OPENSUSE-SU-2024:13315-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | shadowsocks-rustx86_64 | Advisory build | 1.16.2-1.1 | OPENSUSE-SU-2024:13315-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.7 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| RustCrypto | AEADs | >= 0.10.0, < 0.10.3 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-347 CWE-347: Improper Verification of Cryptographic Signature
References
5- https://docs.rs/aes-gcm/latest/src/aes_gcm/lib.rs.html#309
- https://github.com/RustCrypto/AEADs/security/advisories/GHSA-423w-p2w9-r7vq
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ROBB6TBDAGEQ2WIINR34F3DPSN3FND6K/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/RYQCICN6BVC6I75O3F6W4VK4J3MOYDJU/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/U67ZSMNX5V3WTBYPUYF45PSFG4SF5SGF/
Provider assertions
3GitHub_M · cna
AEADs/aes-gcm: Plaintext exposed in decrypt_in_place_detached even on tag verification failure
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5ffc5ccb335fa52e19f3b508eba772c7f453870880be5f7b09e2f94a24dc2eee
- Ingested
- 23 Sep 2026, 08:11:58 UTC
- Source record
- Official CVE record