🇰🇷 한글 설명
(D)TLS를 사용하는 모든 wolfSSL 빌드에서 TLS 종료 과정 중 조건부 상태로 인해 힙 사용 후 해제(heap-use-after-free) 취약점이 발생할 수 있습니다. 작은 사용자 버퍼로 인해 wolfSSL_read()가 부분적으로 완료된 상태에서 양방향 종료를 위해 wolfSSL_shutdown을 호출하고 다시 wolfSSL_read()를 시도할 때 발생합니다.
💡 쉬운 설명
통신을 종료하는 과정에서 메모리 관리 오류가 발생하여 프로그램이 비정상적으로 종료되거나 해킹될 위험이 있습니다. 데이터 전송이 완전히 끝나지 않은 상태에서 연결을 끊으려 할 때 문제가 생깁니다.
🇺🇸 원문 (English)
In all builds that make use of (D)TLS, including default builds, there is a series of conditional states during the TLS shutdown which could lead to a heap-use-after free. If an application ended up getting a partial wolfSSL_read() which is sometimes caused by a small user buffer passed in, then called wolfSSL_shutdown for a bidirectional close and attempted to wolfSSL_read() again while the peer continues trying to send data during the shutdown it would lead to a state where a potential heap-use-after free happened.
📍 영향받는 시스템
wolfSSL (D)TLS를 사용하는 모든 빌드
⚔️ 공격 벡터
통신 종료 시점에 조작된 데이터 패킷을 전송하여 메모리 오류 유도
🛡️ 대응 방법
wolfSSL 라이브러리를 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
현재 설치된 wolfSSL의 버전을 확인하여 취약점이 해결된 패치 버전인지 대조하십시오.
wolfssl_version_check_command_placeholder