개요
이 취약점이 무엇인지
Issue summary: Parsing a crafted DER-encoded ASN.1 structure with a primitive element whose content exceeds 2 gigabytes in length may cause a heap buffer over-read on 64-bit Unix and Unix-like platforms.
Impact summary: The heap buffer over-read may crash the application (Denial of Service) or to load into the decoded ASN.1 object contents of memory beyond the end of the input buffer. More typically such ASN.1 elements would instead be truncated.
An integer truncation in OpenSSL's ASN.1 decoder causes the content length of an ASN.1 primitive element to be mishandled when it exceeds 2 gigabytes. In the worst case the truncated length is treated as a request to scan the binary content for a terminating zero byte, possibly causing OpenSSL to read either less than or beyond the end of the allocated buffer.
Applications that pass attacker-supplied data to d2i_X509(), d2i_PKCS7(), or any other d2i_* decoding function are affected. OpenSSL's own command-line tools are not vulnerable, as data read through the BIO layer is checked before it reaches the affected code. The issue only affects 64-bit Unix and Unix-like platforms; 32-bit platforms and 64-bit Windows are not affected.
The FIPS modules in 4.0, 3.6, 3.5, 3.4 and 3.0 are not affected by this issue, as the affected code is outside the OpenSSL FIPS module boundary.
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| opensslopenssl | 1.0.2 | ≤ | 취약 | < | 1.0.2zq | 1.0.2zq이상 |
| 1.1.1 | ≤ | 취약 | < | 1.1.1zh | 1.1.1zh이상 | |
| 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)이 적은 버전 7줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| 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이상 | |
| 1.1.1 | ≤ | 취약 | < | 1.1.1zh | 1.1.1zh이상 | |
| 1.0.2 | ≤ | 취약 | < | 1.0.2zq | 1.0.2zq이상 | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치5
- github.com/openssl/openssl/commit/1c6908e4fa5fa568752221d8eaf561a809751e5d
- github.com/openssl/openssl/commit/cbe418ae978539cf14a398a207dba834c0e93e83
- github.com/openssl/openssl/commit/d93853c42110d6319e3df07842b488cb9f7ac5ff
- github.com/openssl/openssl/commit/da5d62af75f69d6fbf7803743d7c56ac75461e43
- github.com/openssl/openssl/commit/f696c73c3e61b8c502d040af62e690c060908a16