Opis (engleski)
Issue summary: An application that passes additional authenticated data to EVP_EncryptUpdate() or EVP_DecryptUpdate() after the plaintext when using AES-SIV may have that data excluded from authentication, while the call still reports success. Impact summary: Data an application intended to authenticate within a message is silently left unauthenticated. An attacker can forge the AAD in messages sent or received by such an application. CWE: CWE-345: Insufficient Verification of Data Authenticity Description: AES-SIV in the default provider is an AEAD mode, and EVP_EncryptUpdate() and EVP_DecryptUpdate() are expected to fold every piece of additional authenticated data (AAD) into the S2V state before the tag is computed. When an application supplies AAD after the plaintext, aes_siv_cipher() still hands it to ossl_siv128_aad(), but the tag has already been computed and that state is never read again. The call returns success and leaves nothing on the error queue. Only applications that use AES-SIV through the default provider and pass AAD in that order are exposed. The usual sequence, setting the tag and supplying AAD before the ciphertext, is unaffected, and OpenSSL's own TLS, QUIC and CMS implementations do not use AES-SIV this way. Other AEAD ciphers either reject late AAD or authenticate it. A signer that supplies AAD after the plaintext produces a tag covering only the AAD sent before it, so an attacker can drop the later AAD and the message still verifies. The severity is Low because the flaw depends on an unusual call order chosen by the application. FIPS impact: no The AES-SIV algorithms are not FIPS validated.
Zahvaćeni proizvodi i verzije
Vrsta slabosti (CWE)
- CWE-345 Insufficient Verification of Data Authenticity
Reference
- openssl-library.org/news/secadv/20261201.txt objava proizvođača
- github.com/openssl/openssl/commit/429ed93eed02e337ac260d45a583353edab40070 patch
- github.com/openssl/openssl/commit/a35cd3a5625b83643e4896115683cc12f39a8df6 patch
- github.com/openssl/openssl/commit/d48c5f13ade12430eb6ada25224ba04261310c41 patch
Izvori: CVE.org (CNA i CISA ADP), CISA KEV, FIRST EPSS. Uvijek provjerite službenu objavu proizvođača.