🔍 CVE-2026-102277

5.3
CVSS Score
MEDIUM
2026-09-28
2026-09-30 19:57
✅ 완료

🇰🇷 한글 설명

brace-expansion 라이브러리의 expand 함수가 특정 패턴의 중괄호를 처리할 때 반복적인 전체 스캔을 수행하여 CPU와 메모리 사용량을 급증시킵니다. 이로 인해 Node.js 이벤트 루프가 차단되어 서비스 거부(DoS) 상태가 발생할 수 있습니다.

💡 쉬운 설명

특수한 모양의 글자 패턴을 입력하면 컴퓨터가 이를 처리하느라 과도하게 힘을 써서 프로그램이 멈추게 됩니다. 이 문제는 시스템을 완전히 망가뜨리지는 않지만, 잠시 동안 서비스를 이용하지 못하게 만들 수 있습니다.

🇺🇸 원문 (English)

The brace-expansion library generates arbitrary strings containing a common prefix and suffix. Prior to 1.1.21, 2.1.7, 3.0.9, and 5.0.12, the expand function handles untrusted {a},b}-shaped patterns with many trailing closing braces by restarting its scan once for each trailing closing brace. The successive full-input rescans with linear working-string growth cause quadratic CPU time and memory pressure that can block the Node.js event loop. The process eventually recovers, making the impact a recoverable CPU denial of service. This issue is fixed in versions 1.1.21, 2.1.7, 3.0.9, and 5.0.12.

📍 영향받는 시스템

brace-expansion versions < 1.1.21, 2.1.7, 3.0.9, 5.0.12

⚔️ 공격 벡터

신뢰할 수 없는 사용자가 조작된 중괄호 패턴({a},b}-shaped)이 포함된 문자열을 입력값으로 전달

🛡️ 대응 방법

brace-expansion 라이브러리를 수정된 버전(1.1.21, 2.1.7, 3.0.9, 5.0.12 이상)으로 업데이트

🔧 검증 코드

출력된 결과에서 brace-expansion의 버전을 확인하여 취약한 버전 범위에 해당하는지 체크

Shell / Script
npm list brace-expansion

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Node.js