AEADs/ascon-aead: Plaintext exposed in decrypt_in_place_detached even on tag verification failure
Résumé
AEADs/ascon-aead: Plaintext exposed in decrypt_in_place_detached even on tag verification failure
Description d'origine
La description telle que publiée par la source (souvent en anglais).
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
État des correctifs par distribution
Paquets corrigés publiés par chaque distribution pour cette CVE
- Ubuntu UBUNTU-CVE-2025-27498 rust-aes-gcm
Références
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com