Live threats

All CVEs / Aes-gcm Project

CVE-2023-42811Aes-gcm Project Aes-gcm

Medium 5.5

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Aes-gcm.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
aes-gcm_projectaes-gcm≥ 0.10.0 < 0.10.3
fedoraprojectfedora37
fedoraprojectfedora38
fedoraprojectfedora39

Official sources

References

Links published by the sources. Open them with care.