🔍 CVE-2026-115825

0.0
CVSS Score
UNKNOWN
2026-10-25
2026-10-26 18:39
✅ 완료

🇰🇷 한글 설명

Perl용 HTTP::Server::PSGI 1.0056 이전 버전은 클라이언트가 선언한 큰 Content-Length를 그대로 신뢰하여 요청 본문 읽기 버퍼를 미리 할당합니다. 이로 인해 단일 요청만으로 서버가 메모리 부족 오류와 함께 종료될 수 있습니다.

💡 쉬운 설명

요청에 아주 큰 본문 크기를 적어 보내면 서버가 그만큼 메모리를 미리 잡으려다 죽어버립니다. 단일 프로세스로 동작하므로 재시작 전까지 서비스가 중단됩니다.

🇺🇸 원문 (English)

HTTP::Server::PSGI versions before 1.0056 for Perl allow a single request to crash the server by declaring a large Content-Length. The request body is read with sysread() calls sized by the remaining Content-Length. Perl grows the read buffer to the requested length before any data arrives, so the server tries to allocate as much memory as the client declares. A remote attacker can send one request with a large Content-Length and a few body bytes, and perl exits with an out-of-memory error before the application is called. HTTP::Server::PSGI runs as a single process, so the server stays down until restarted.

📍 영향받는 시스템

HTTP::Server::PSGI 1.0056 미만 버전을 사용하는 Perl 기반 PSGI 서버

⚔️ 공격 벡터

원격의 공격자가 매우 큰 Content-Length 헤더와 적은 양의 본문만 담은 단일 HTTP 요청을 보내 서버를 메모리 부족으로 크래시시킵니다.

🛡️ 대응 방법

HTTP::Server::PSGI를 1.0056 이상으로 업그레이드하고, 필요 시 리버스 프록시에서 요청 본문 크기 제한을 설정합니다.

🔧 검증 코드

출력된 버전이 1.0056 미만이면 취약하므로 업그레이드가 필요하고, 1.0056 이상이면 패치된 상태입니다.

Shell / Script
perl -MHTTP::Server::PSGI -e 'print $HTTP::Server::PSGI::VERSION, "\n"' 2>/dev/null || cpanm --info HTTP::Server::PSGI 2>/dev/null | head -1

💻 영향받는 소프트웨어

Spring Data REST