🔍 CVE-2026-33174

7.5
CVSS Score
HIGH
2026-03-24
2026-06-17 10:37
✅ 완료

🇰🇷 한글 설명

Rails의 Active Storage 프록시 전달 모드에서 대용량 또는 제한 없는 Range 헤더를 요청할 경우, 서버가 파일 전체를 메모리에 로드하여 메모리 고갈을 일으킬 수 있습니다. 이로 인해 서비스 거부(DoS) 취약점이 발생할 수 있습니다.

💡 쉬운 설명

파일을 다운로드할 때 일부만 요청하는 대신 파일 전체를 한꺼번에 메모리에 올리도록 유도하여 서버를 마비시키는 공격입니다. 서버의 메모리가 가득 차서 서비스가 중단될 수 있습니다.

🇺🇸 원문 (English)

Active Storage allows users to attach cloud and local files in Rails applications. Prior to versions 8.1.2.1, 8.0.4.1, and 7.2.3.1, when serving files through Active Storage's proxy delivery mode, the proxy controller loads the entire requested byte range into memory before sending it. A request with a large or unbounded Range header (e.g. `bytes=0-`) could cause the server to allocate memory proportional to the file size, possibly resulting in a DoS vulnerability through memory exhaustion. Versions 8.1.2.1, 8.0.4.1, and 7.2.3.1 contain a patch.

📍 영향받는 시스템

Rails Active Storage (8.1.2.1, 8.0.4.1, 7.2.3.1 미만 버전)

⚔️ 공격 벡터

조작된 HTTP Range 헤더(예: bytes=0-)를 포함한 요청을 프록시 컨트롤러로 전송

🛡️ 대응 방법

Rails 버전을 8.1.2.1, 8.0.4.1 또는 7.2.3.1 이상으로 업데이트

🔧 검증 코드

출력된 Rails 버전이 패치가 적용된 보안 버전(8.1.2.1, 8.0.4.1, 7.2.3.1 이상)인지 확인

Shell / Script
bundle exec rails -v

📊 CVSS Vector String

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