🔍 CVE-2023-42794

5.9
CVSS Score
MEDIUM
2023-10-10
2026-10-08 22:17
✅ 완료

🇰🇷 한글 설명

Apache Tomcat의 Commons FileUpload 내부 포크 버전에서 발생하는 불완전한 정리 취약점입니다. Windows 환경에서 웹 애플리케이션이 업로드된 파일 스트림을 열고 닫지 않을 경우, 파일이 디스크에서 삭제되지 않아 디스크 용량이 가득 차는 서비스 거부(DoS) 상태가 발생할 수 있습니다.

💡 쉬운 설명

파일 업로드 후 사용이 끝난 파일을 제대로 지우지 못하는 버그가 있습니다. 이 문제가 반복되면 컴퓨터의 저장 공간이 꽉 차서 서버가 멈출 수 있습니다.

🇺🇸 원문 (English)

Incomplete Cleanup vulnerability in Apache Tomcat. The internal fork of Commons FileUpload packaged with Apache Tomcat 9.0.70 through 9.0.80 and 8.5.85 through 8.5.93 included an unreleased, in progress refactoring that exposed a potential denial of service on Windows if a web application opened a stream for an uploaded file but failed to close the stream. The file would never be deleted from disk creating the possibility of an eventual denial of service due to the disk being full. Other, EOL versions may also be affected. Users are recommended to upgrade to version 9.0.81 onwards or 8.5.94 onwards, which fixes the issue.

📍 영향받는 시스템

Apache Tomcat 9.0.70 ~ 9.0.80, 8.5.85 ~ 8.5.93 및 기타 EOL 버전

⚔️ 공격 벡터

업로드된 파일 스트림을 명시적으로 닫지 않는 웹 애플리케이션을 통해 디스크 공간을 점유하여 DoS 유발

🛡️ 대응 방법

Apache Tomcat을 9.0.81 이상 또는 8.5.94 이상 버전으로 업그레이드하십시오.

🔧 검증 코드

명령어 결과에 취약한 버전 범위가 출력되면 해당 버전이 설치되어 있는 상태입니다.

Shell / Script
java -jar tomcat-version-check.jar | grep -E '9.0\.(7[0-8]|80)|8.5\.(8[5-9][0-9]|9[0-3])'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Apache Tomcat