Description
aes-gcm is a pure Rust implementation of the AES-GCM. In decrypt_in_place_detached, the decrypted ciphertext (which is the correct ciphertext) is exposed even if the tag is incorrect. This is because in decrypt_inplace in asconcore.rs, tag verification causes an error to be returned with the plaintext contents still in buffer. The vulnerability is fixed in 0.4.3.
No analysis available yet.
Remediation
No remediation available yet.
Tracking
Sign in to view the affected projects.
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-r38m-44fw-h886 | AEADs/ascon-aead: Plaintext exposed in decrypt_in_place_detached even on tag verification failure |
References
History
Tue, 04 Mar 2025 03:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Mon, 03 Mar 2025 17:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | aes-gcm is a pure Rust implementation of the AES-GCM. In decrypt_in_place_detached, the decrypted ciphertext (which is the correct ciphertext) is exposed even if the tag is incorrect. This is because in decrypt_inplace in asconcore.rs, tag verification causes an error to be returned with the plaintext contents still in buffer. The vulnerability is fixed in 0.4.3. | |
| Title | AEADs/ascon-aead: Plaintext exposed in decrypt_in_place_detached even on tag verification failure | |
| Weaknesses | CWE-347 | |
| References |
| |
| Metrics |
cvssV4_0
|
Subscriptions
No data.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2025-03-03T17:32:24.640Z
Reserved: 2025-02-26T18:11:52.304Z
Link: CVE-2025-27498
Updated: 2025-03-03T17:32:20.576Z
Status : Deferred
Published: 2025-03-03T17:15:16.443
Modified: 2026-04-15T00:35:42.020
Link: CVE-2025-27498
No data.
OpenCVE Enrichment
No data.
Weaknesses
Github GHSA