🔍 CVE-2022-38153

5.9
CVSS Score
MEDIUM
2022-08-31
2026-06-17 04:56
✅ 완료

🇰🇷 한글 설명

wolfSSL 5.5.0 미만 버전(특히 5.3.0)에서 TLS 1.2 핸드쉐이크 중 세션 티켓을 처리할 때 발생하는 취약점입니다. 공격자가 256바이트 이상의 대형 티켓을 주입하면 클라이언트의 세션 캐시가 잘못된 메모리 포인터를 해제하여 서비스 거부(DoS)를 유발하며 시스템이 충돌할 수 있습니다.

💡 쉬운 설명

악의적인 서버나 중간 공격자가 가짜 정보를 담은 커다란 티켓을 보내면, 보안 프로그램이 이를 처리하다가 오류를 일으켜 강제로 종료될 수 있습니다. 이로 인해 통신이 끊기거나 프로그램이 멈추는 현상이 발생합니다.

🇺🇸 원문 (English)

An issue was discovered in wolfSSL before 5.5.0 (when --enable-session-ticket is used); however, only version 5.3.0 is exploitable. Man-in-the-middle attackers or a malicious server can crash TLS 1.2 clients during a handshake. If an attacker injects a large ticket (more than 256 bytes) into a NewSessionTicket message in a TLS 1.2 handshake, and the client has a non-empty session cache, the session cache frees a pointer that points to unallocated memory, causing the client to crash with a "free(): invalid pointer" message. NOTE: It is likely that this is also exploitable during TLS 1.3 handshakes between a client and a malicious server. With TLS 1.3, it is not possible to exploit this as a man-in-the-middle.

📍 영향받는 시스템

wolfSSL 5.3.0 (5.5.0 미만 버전 중 --enable-session-ticket 옵션 사용 시)

⚔️ 공격 벡터

Man-in-the-middle(MITM) 공격 또는 악의적인 서버를 통한 대형 NewSessionTicket 메시지 주입

🛡️ 대응 방법

wolfSSL을 5.5.0 이상의 최신 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 wolfSSL 버전을 확인하여 5.3.0인지 또는 5.5.0 미만인지 확인하십시오.

Shell / Script
wolfssl_version_cmd 2>/dev/null || wolfssl_info | grep 'version'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

wolfSSL