🇰🇷 한글 설명
Espressif IoT 개발 프레임워크의 esp_http_server 컴포넌트에서 WebSocket 서브프로토콜 협상 중 NULL 포인터 역참조 취약점이 발견되었습니다. 공격자가 악의적인 Sec-WebSocket-Protocol 헤더를 전송하면 서버가 충돌하여 서비스 거부 상태에 빠질 수 있습니다.
💡 쉬운 설명
웹소켓 연결 시 잘못된 데이터를 보내면 서버 프로그램이 갑자기 꺼지는 문제가 있습니다. 이 문제를 해결하려면 소프트웨어를 최신 버전으로 업데이트해야 합니다.
🇺🇸 원문 (English)
ESF-IDF is the Espressif Internet of Things (IOT) Development Framework. In versions 5.2.6, 5.3.5, 5.4.4, 5.5.4, and 6.0, a NULL-pointer dereference exists in the WebSocket subprotocol-negotiation path of the esp_http_server component. While parsing the client-supplied Sec-WebSocket-Protocol request header during the WebSocket handshake, the tokenisation result is dereferenced without a NULL check, so a malformed header value can crash the server before any application-level authentication runs. This issue has been patched in versions 5.2.7, 5.3.6, 5.4.5, 5.5.5, and 6.0.1.
📍 영향받는 시스템
Espressif IDF 5.2.6, 5.3.5, 5.4.4, 5.5.4, 6.0
⚔️ 공격 벡터
악성 WebSocket 헤더를 통한 서비스 거부 공격
🛡️ 대응 방법
ESF-IDF를 5.2.7, 5.3.6, 5.4.5, 5.5.5, 6.0.1 이상으로 업그레이드
🔧 검증 코드
명령어 실행 결과 취약한 버전 번호가 출력되면 영향을 받으며, 아무것도 출력되지 않거나 패치된 버전이 표시되면 안전합니다.
idf.py --version 2>/dev/null | grep -E '5\.2\.6|5\.3\.5|5\.4\.4|5\.5\.4|6\.0'