개요
이 취약점이 무엇인지
Issue Summary: Cryptographic Message Services (CMS) processing fails to perform sufficient input validation on the cipher and tag length fields of AuthEnvelopedData containers, leading to various potential compromises.
Impact Summary: Attackers making use of these vulnerabilities may achieve key-equivalent functionality for a given CMS recipient and/or bypass integrity validation for a given message.
In one use case, an attacker may send a CMS message containing AuthEnvelopedData with the cipher specified as a non-AEAD cipher. OpenSSL erroneously allows this selection, and attempts to decrypt and validate the message.
An on-path attacker who captures one legitimate AES-GCM AuthEnvelopedData addressed to the victim can re-emit it with the recipientInfos set left byte-for-byte intact, so the victim's private key still unwraps the genuine CEK (the content-encryption key), but with the inner OID rewritten to AES-256-OFB (Output Feedback Mode, an unauthenticated keystream mode) and with an attacker-chosen IV and ciphertext. The victim initializes AES-256-OFB under the real CEK, never consults the MAC field, and CMS_decrypt() returns success.
If the application under attack responds to the attacker with any indicator showing success or failure of the decryption effort, it is possible for the attacker to use this as an oracle to obtain key equivalent functionality for the CEK used for the chosen recipient of the message.
In another use case, an attacker can reduce the tag length of the chosen AEAD cipher for a given AuthEnvelopedData container to be a single byte long, allowing an attacker to brute force CMS decryption, producing an integrity bypass for applications that trust CMS_decrypt() to reject modified content.
The FIPS modules are not affected by this issue.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| opensslopenssl | 3.0.0 | ≤ | 취약 | < | 3.0.21 | 3.0.21이상 |
| 3.4.0 | ≤ | 취약 | < | 3.4.6 | 3.4.6이상 | |
| 3.5.0 | ≤ | 취약 | < | 3.5.7 | 3.5.7이상 | |
| 3.6.0 | ≤ | 취약 | < | 3.6.3 | 3.6.3이상 | |
| 이 버전만 | 취약 | = | 4.0.0 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 5줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| OpenSSLOpenSSL | 4.0.0 | ≤ | 취약 | < | 4.0.1 | 4.0.1이상 |
| 3.6.0 | ≤ | 취약 | < | 3.6.3 | 3.6.3이상 | |
| 3.5.0 | ≤ | 취약 | < | 3.5.7 | 3.5.7이상 | |
| 3.4.0 | ≤ | 취약 | < | 3.4.6 | 3.4.6이상 | |
| 3.0.0 | ≤ | 취약 | < | 3.0.21 | 3.0.21이상 | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치5
- github.com/openssl/openssl/commit/03c1f4d45fb963aee7d5833390c507cd290182bc
- github.com/openssl/openssl/commit/439ed7d2c0962ce964482727264668bf277c333f
- github.com/openssl/openssl/commit/7947e6a81eb8776802f159fb6762cb7fcf7e34c7
- github.com/openssl/openssl/commit/9fd97f8cfdc2c0be214998de3b2b55c8edf6c7ac
- github.com/openssl/openssl/commit/d2ca86bcd43e4f17d899f347101766b6107676e0