🇰🇷 한글 설명
악성 PKCS#12 파일을 처리할 때 PKCS12_item_decrypt_d2i_ex() 함수에서 NULL 포인터 역참조가 발생합니다. 이는 애플리케이션 충돌을 유발하여 서비스 거부(DoS)를 초래합니다.
💡 쉬운 설명
특별히 조작된 파일을 보내서 암호화 프로그램을 멈추게 하는 공격입니다. 데이터 탈취나 코드 실행은 불가능하고 오직 프로그램 중단만 가능합니다.
🇺🇸 원문 (English)
Issue summary: Processing a malformed PKCS#12 file can trigger a NULL pointer
dereference in the PKCS12_item_decrypt_d2i_ex() function.
Impact summary: A NULL pointer dereference can trigger a crash which leads to
Denial of Service for an application processing PKCS#12 files.
The PKCS12_item_decrypt_d2i_ex() function does not check whether the oct
parameter is NULL before dereferencing it. When called from
PKCS12_unpack_p7encdata() with a malformed PKCS#12 file, this parameter can
be NULL, causing a crash. The vulnerability is limited to Denial of Service
and cannot be escalated to achieve code execution or memory disclosure.
Exploiting this issue requires an attacker to provide a malformed PKCS#12 file
to an application that processes it. For that reason the issue was assessed as
Low severity according to our Security Policy.
The FIPS modules in 3.6, 3.5, 3.4, 3.3 and 3.0 are not affected by this issue,
as the PKCS#12 implementation is outside the OpenSSL FIPS module boundary.
OpenSSL 3.6, 3.5, 3.4, 3.3, 3.0, 1.1.1 and 1.0.2 are vulnerable to this issue.
📍 영향받는 시스템
OpenSSL 3.6, 3.5, 3.4, 3.3, 3.0, 1.1.1, 1.0.2
⚔️ 공격 벡터
악의적으로 조작된 PKCS#12 파일을 애플리케이션에 제출하여 NULL 포인터 역참조 트리거
🛡️ 대응 방법
OpenSSL을 보안 패치가 포함된 최신 버전으로 업데이트
🔧 검증 코드
취약한 버전(3.0~3.6, 1.0.2, 1.1.1)이 출력되면 업데이트 필요, 그 외 버전은 안전
openssl version | grep -E '3\.(0|3|4|5|6)|1\.[01]\.'