🇰🇷 한글 설명
NGINX Plus 및 오픈소스 버전에서 map 지시문의 정규식 캡처 변수를 출력 변수보다 먼저 참조할 때 발생하는 취약점입니다. 공격자가 조작된 HTTP 요청을 보내면 NGINX 워커 프로세스에서 힙 버퍼 오버플로우가 발생하여 서비스 거부(DoS) 또는 원격 코드 실행이 가능할 수 있습니다.
💡 쉬운 설명
NGINX 설정 중 특정 규칙을 잘못 사용하면 해커가 서버를 다운시키거나 서버를 마음대로 조종할 수 있는 보안 구멍이 생깁니다. 특수하게 만들어진 요청을 보내는 것만으로도 서버가 멈추거나 해킹당할 위험이 있습니다.
🇺🇸 원문 (English)
A vulnerability exists in NGINX Plus and NGINX Open Source when a map directive uses regex matching and a string expression references the map's regex capture variables before referencing the map output variable. Alternatively, the same result could be achieved by using a non-cacheable variable in a string expression under certain conditions. An unauthenticated attacker along with conditions beyond their control can exploit this vulnerability by sending crafted HTTP requests. This may cause a heap buffer overflow in the NGINX worker process leading to a restart. Additionally, attackers can execute code on systems with Address Space Layout Randomization (ASLR) disabled or when the attacker can bypass ASLR.
Impact:
This vulnerability may allow remote attackers to cause a denial-of-service (DoS) on the NGINX system or to possibly trigger a code execution. There is no control plane exposure; this is a data plane issue only.
Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
📍 영향받는 시스템
NGINX Plus 및 NGINX Open Source (정규식 캡처 변수 참조 설정이 포함된 버전)
⚔️ 공격 벡터
조작된 HTTP 요청을 통한 원격 공격
🛡️ 대응 방법
NGINX를 최신 보안 패치 버전으로 업데이트하고, map 지시문 내 변수 참조 순서를 올바르게 수정하십시오.
🔧 검증 코드
출력된 NGINX 버전을 확인하여 해당 취약점이 해결된 최신 버전인지 제조사의 보안 권고안과 비교하십시오.
🇰🇷 KISA(한국인터넷진흥원) 보안 권고
이 CVE에 대한 한국 공식 권고 (1건)
NGINX 제품 보안 업데이트 권고
P4
📅 2026-07-20 · sec_notice
F5 NGINX Plus 및 Open Source 제품에서 Heap-based Buffer Overflow 및 Uninitialized Resource 사용 취약점이 발견되었습니다. 해당 제품의 구버전을 사용하는 사용자는 보안 공격에 노출될 수 있으므로 최신 버전으로 업데이트가 필요합니다.