🔍 CVE-2018-8037

5.9
CVSS Score
MEDIUM
2018-08-02
2026-06-17 02:04
✅ 완료

🇰🇷 한글 설명

애플리케이션의 비동기 요청 완료와 컨테이너의 비동기 타임아웃이 동시에 발생할 때 레이스 컨디션이 발생하는 취약점입니다. 이로 인해 NIO 및 NIO2 커넥터에서 연결 종료를 올바르게 추적하지 못해 사용자가 다른 사용자의 응답을 볼 수 있는 정보 노출 위험이 있습니다.

💡 쉬운 설명

서버가 요청을 처리하는 도중 타이밍 문제로 인해 엉뚱한 사람에게 데이터가 전달될 수 있는 오류입니다. 결과적으로 다른 사용자의 개인정보나 응답 내용을 몰래 보게 될 위험이 있습니다.

🇺🇸 원문 (English)

If an async request was completed by the application at the same time as the container triggered the async timeout, a race condition existed that could result in a user seeing a response intended for a different user. An additional issue was present in the NIO and NIO2 connectors that did not correctly track the closure of the connection when an async request was completed by the application and timed out by the container at the same time. This could also result in a user seeing a response intended for another user. Versions Affected: Apache Tomcat 9.0.0.M9 to 9.0.9 and 8.5.5 to 8.5.31.

📍 영향받는 시스템

Apache Tomcat 9.0.0.M9 ~ 9.0.9, 8.5.5 ~ 8.5.31

⚔️ 공격 벡터

비동기 요청과 타임아웃이 동시에 발생하는 특정 타이밍을 이용한 레이스 컨디션 공격

🛡️ 대응 방법

Apache Tomcat을 취약점이 해결된 최신 버전(9.0.10 이상 또는 8.5.32 이상)으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 취약한 범위(9.0.0.M9-9.0.9 또는 8.5.5-8.5.31)에 포함되는지 확인합니다.

Shell / Script
echo $CATALINA_HOME/bin/version.sh | xargs -I {} sh -c '{} | grep -E 'Apache Tomcat (9.0\.[0-9]+|8.5\.[0-9]+)''

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Apache Tomcat