개요
이 취약점이 무엇인지
Issue summary: Applications using RSASVE key encapsulation to establish a secret encryption key can send contents of an uninitialized memory buffer to a malicious peer.
Impact summary: The uninitialized buffer might contain sensitive data from the previous execution of the application process which leads to sensitive data leakage to an attacker.
RSA_public_encrypt() returns the number of bytes written on success and -1 on error. The affected code tests only whether the return value is non-zero. As a result, if RSA encryption fails, encapsulation can still return success to the caller, set the output lengths, and leave the caller to use the contents of the ciphertext buffer as if a valid KEM ciphertext had been produced.
If applications use EVP_PKEY_encapsulate() with RSA/RSASVE on an attacker-supplied invalid RSA public key without first validating that key, then this may cause stale or uninitialized contents of the caller-provided ciphertext buffer to be disclosed to the attacker in place of the KEM ciphertext.
As a workaround calling EVP_PKEY_public_check() or EVP_PKEY_public_check_quick() before EVP_PKEY_encapsulate() will mitigate the issue.
The FIPS modules in 3.6, 3.5, 3.4, 3.3, 3.1 and 3.0 are affected by this issue.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| opensslopenssl | 3.0.0 | ≤ | 취약 | < | 3.0.20 | 3.0.20이상 |
| 3.3.0 | ≤ | 취약 | < | 3.3.7 | 3.3.7이상 | |
| 3.4.0 | ≤ | 취약 | < | 3.4.5 | 3.4.5이상 | |
| 3.5.0 | ≤ | 취약 | < | 3.5.6 | 3.5.6이상 | |
| 3.6.0 | ≤ | 취약 | < | 3.6.2 | 3.6.2이상 | |
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 5줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| OpenSSLOpenSSL | 3.6.0 | ≤ | 취약 | < | 3.6.2 | 3.6.2이상 |
| 3.5.0 | ≤ | 취약 | < | 3.5.6 | 3.5.6이상 | |
| 3.4.0 | ≤ | 취약 | < | 3.4.5 | 3.4.5이상 | |
| 3.3.0 | ≤ | 취약 | < | 3.3.7 | 3.3.7이상 | |
| 3.0.0 | ≤ | 취약 | < | 3.0.20 | 3.0.20이상 | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치5
- github.com/openssl/openssl/commit/001e01db3e996e13ffc72386fe79d03a6683b5ac
- github.com/openssl/openssl/commit/abd8b2eec7e3f3fda60ecfb68498b246b52af482
- github.com/openssl/openssl/commit/b922e24e5b23ffb9cb9e14cadff23d91e9f7e406
- github.com/openssl/openssl/commit/d5f8e71cd0a54e961d0c3b174348f8308486f790
- github.com/openssl/openssl/commit/eed200f58cd8645ed77e46b7e9f764e284df379e