🔍 CVE-2021-42717

7.5
CVSS Score
HIGH
2021-12-07
2026-06-17 04:10
✅ 완료

🇰🇷 한글 설명

ModSecurity 3.x(3.0.5 이하) 및 2.x(2.8.0~2.9.4) 버전에서 과도하게 중첩된 JSON 객체를 처리할 때 발생하는 취약점입니다. 공격자가 수만 단계로 중첩된 JSON을 전송하면 웹 서버의 CPU를 과다 점유하여 정상적인 요청을 처리하지 못하게 만드는 서비스 거부(DoS)를 유발할 수 있습니다.

💡 쉬운 설명

복잡하게 꼬인 JSON 데이터를 보내서 서버를 마비시키는 공격입니다. 아주 작은 크기의 데이터라도 서버의 계산 능력을 모두 써버리게 만들어 웹사이트를 느리게 하거나 멈추게 할 수 있습니다.

🇺🇸 원문 (English)

ModSecurity 3.x through 3.0.5 mishandles excessively nested JSON objects. Crafted JSON objects with nesting tens-of-thousands deep could result in the web server being unable to service legitimate requests. Even a moderately large (e.g., 300KB) HTTP request can occupy one of the limited NGINX worker processes for minutes and consume almost all of the available CPU on the machine. Modsecurity 2 is similarly vulnerable: the affected versions include 2.8.0 through 2.9.4.

📍 영향받는 시스템

ModSecurity 3.x (<= 3.0.5), ModSecurity 2.x (2.8.0 - 2.9.4)

⚔️ 공격 벡터

수만 단계로 중첩된 특수하게 제작된 JSON 객체를 포함한 HTTP 요청 전송

🛡️ 대응 방법

ModSecurity를 최신 보안 패치가 적용된 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 정보가 취약한 범위(3.0.5 이하 또는 2.8.0-2.9.4)에 해당하는지 확인하십시오.

Shell / Script
modsecurity -v 2>/dev/null || apache2ctl -M | grep modsecurity || dpkg -l | grep modsecurity

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Nginx