Security mailing lists by PureSourceCode

CVE-2023-42811

MEDIUM 5.5CVSS 3.1

AEADs/aes-gcm: Plaintext exposed in decrypt_in_place_detached even on tag verification failure

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.

Published
22 Sep 2023
Last modified
12 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-347
Also known as
GHSA-423w-p2w9-r7vqRUSTSEC-2023-0096
Sources
NVDJSONOSV GHSA-423w-p2w9-r7vqJSONOSV RUSTSEC-2023-0096JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 4.7 CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.7 CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:N
OSV RustSec CVSS 3.1 MEDIUM 4.7 CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD aes-gcm_project aes-gcm
cpe:2.3:a:aes-gcm_project:aes-gcm:*:*:*:*:*:rust:*:*
>= 0.10.0, < 0.10.3 0.10.3
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
= 37
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
= 38
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
= 39
OSV crates.io aes-gcm >= 0.10.0, < 0.10.3 0.10.3

References

History

  • 25 Nov 2026 20:37 UTC · NVD: first stored (published 22 Sep 2023)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Nov 2023)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Sep 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.