🔍 CVE-2026-45445

7.5
CVSS Score
HIGH
2026-06-09
2026-07-23 08:10
✅ 완료

🇰🇷 한글 설명

OpenSSL의 AES-OCB 암호화 컨텍스트에서 EVP_Cipher() 일괄 인터페이스 사용 시 제공된 초기화 벡터(IV)가 무시되는 결함입니다. 이로 인해 동일한 키로 모든 메시지가 동일한 논스(Nonce)를 사용하여 암호화되어 기밀성이 손실되고, 인증 태그의 무결성도 훼손됩니다.

💡 쉬운 설명

암호화 시 설정해야 하는 고유한 번호(IV)가 무시되어 같은 키로 모든 데이터를 같은 방식으로 암호화하는 오류입니다. 이로 인해 해커가 암호문을 쉽게 위조하거나 내용을 탈취할 수 있는 위험이 있습니다.

🇺🇸 원문 (English)

Issue summary: When an application drives an AES-OCB context through the public EVP_Cipher() one-shot interface, the application-supplied initialisation vector (IV) is silently discarded. Impact summary: Every message encrypted under the same key uses the same effective nonce regardless of the IV supplied by the caller, resulting in (key, nonce) reuse and loss of confidentiality. If the same code path is used to compute the authentication tag, the tag depends only on the (key, IV) pair and not on the plaintext or ciphertext, allowing universal forgery of arbitrary ciphertext from a single captured message. OpenSSL provides two ways to drive a cipher: the documented streaming interface (EVP_CipherUpdate / EVP_CipherFinal_ex) and a lower-level one-shot, EVP_Cipher(), whose documentation explicitly recommends against use by applications in favour of EVP_CipherUpdate() and EVP_CipherFinal_ex(). The OCB provider's streaming handler flushes the application-supplied IV into the OCB context before processing data; the one-shot handler did not. Every call to EVP_Cipher() on an AES-OCB context therefore ran with the all-zero key-derived offset state left by cipher initialisation, regardless of the caller's IV. If EVP_EncryptFinal_ex() is subsequently used to obtain the authentication tag, the deferred IV setup runs at that point and clears the running checksum that should have been accumulated over the plaintext. The resulting tag is a function of (key, IV) only and verifies against any ciphertext produced under the same (key, IV) pair. The OpenSSL SSL/TLS implementation is not affected: AES-OCB is not a TLS cipher suite, and libssl does not call EVP_Cipher() in any case. Applications that drive AES-OCB through the documented streaming AEAD API (EVP_CipherUpdate / EVP_CipherFinal_ex) are not affected. Only applications that combine the AES-OCB cipher with the EVP_Cipher() one-shot API are vulnerable. The FIPS modules in 4.0, 3.6, 3.5, 3.4 and 3.0 are not affected by this issue, as AES-OCB is outside the OpenSSL FIPS module boundary.

📍 영향받는 시스템

OpenSSL에서 AES-OCB 알고리즘을 EVP_Cipher() 일괄 인터페이스를 통해 사용하는 응용 프로그램

⚔️ 공격 벡터

취약한 EVP_Cipher() 호출을 통해 IV를 무시하고 동일한 논스를 재사용하여 암호문 위조 및 기밀성 침해

🛡️ 대응 방법

EVP_Cipher() 대신 권장되는 스트리밍 인터페이스인 EVP_CipherUpdate() 및 EVP_CipherFinal_ex()를 사용하여 암호화 로직을 수정해야 합니다.

🔧 검증 코드

출력된 OpenSSL 버전이 취약한 버전인지 확인하고, 코드에서 AES-OCB에 EVP_Cipher()를 사용하지 않도록 검증해야 합니다.

Shell / Script
openssl version

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

💻 영향받는 소프트웨어

OpenSSL