cve/2023/CVE-2023-42811.md
2024-06-18 02:51:15 +02:00

18 lines
1.2 KiB
Markdown

### [CVE-2023-42811](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-42811)
![](https://img.shields.io/static/v1?label=Product&message=AEADs&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3E%3D%200.10.0%2C%20%3C%200.10.3%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-347%3A%20Improper%20Verification%20of%20Cryptographic%20Signature&color=brighgreen)
### 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.
### POC
#### Reference
- https://github.com/RustCrypto/AEADs/security/advisories/GHSA-423w-p2w9-r7vq
#### Github
No PoCs found on GitHub currently.