CVE 목록
High7.5유형: 라이브러리

CVE-2026-27903

공개
2026년 2월 26일
수정
2026년 6월 17일
조회
0
상태
Analyzed
관련 내용 구글 검색하기한국어English
번역 대상이 아니에요. 원문(영어)만 제공돼요.
7.5High

개요

이 취약점이 무엇인지

minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. Prior to version 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.3, `matchOne()` performs unbounded recursive backtracking when a glob pattern contains multiple non-adjacent `**` (GLOBSTAR) segments and the input path does not match. The time complexity is O(C(n, k)) -- binomial -- where `n` is the number of path segments and `k` is the number of globstars. With k=11 and n=30, a call to the default `minimatch()` API stalls for roughly 5 seconds. With k=13, it exceeds 15 seconds. No memoization or call budget exists to bound this behavior. Any application where an attacker can influence the glob pattern passed to `minimatch()` is vulnerable. The realistic attack surface includes build tools and task runners that accept user-supplied glob arguments (ESLint, Webpack, Rollup config), multi-tenant systems where one tenant configures glob-based rules that run in a shared process, admin or developer interfaces that accept ignore-rule or filter configuration as globs, and CI/CD pipelines that evaluate user-submitted config files containing glob patterns. An attacker who can place a crafted pattern into any of these paths can stall the Node.js event loop for tens of seconds per invocation. The pattern is 56 bytes for a 5-second stall and does not require authentication in contexts where pattern input is part of the feature. Versions 10.2.3, 9.0.7, 8.0.6, 7.4.8, 6.2.2, 5.1.8, 4.2.5, and 3.1.3 fix the issue.

실제 악용 사례 · 아직 확인된 사례가 없어요

CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.

패치 현황

어떤 버전이 위험하고, 몇 버전으로 올리면 되는지

제품시작끝이 버전 이상으로
minimatchminimatch_project · node.js 용최초 버전≤취약<3.1.33.1.3이상
4.0.0≤취약<4.2.54.2.5이상
5.0.0≤취약<5.1.85.1.8이상
6.0.0≤취약<6.2.26.2.2이상
7.0.0≤취약<7.4.87.4.8이상
8.0.0≤취약<8.0.68.0.6이상
9.0.0≤취약<9.0.79.0.7이상
10.0.0≤취약<10.2.310.2.3이상

NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.

할당 기관(CNA)이 적은 버전 8줄도 보기
제품시작끝이 버전 이상으로
minimatchisaacs이 버전만취약=>= 10.0.0, < 10.2.3벤더 공지 확인
이 버전만취약=>= 9.0.0, < 9.0.7벤더 공지 확인
이 버전만취약=>= 8.0.0, < 8.0.6벤더 공지 확인
이 버전만취약=>= 7.0.0, < 7.4.8벤더 공지 확인
이 버전만취약=>= 6.0.0, < 6.2.2벤더 공지 확인
이 버전만취약=>= 5.0.0, < 5.1.8벤더 공지 확인
이 버전만취약=>= 4.0.0, < 4.2.5벤더 공지 확인
이 버전만취약=< 3.1.3벤더 공지 확인

참고 링크

NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.