Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
next-picomatch-cve-repro — # Next.js 16.2.4에서 picomatch 4.0.3(CVE-2026-33671) 번들링에 대한 최소 재현 | Kitploit
도구/GitHubGitHub/belazy167/next-picomatch-cve-repro
Vulnerability AnalysisSupply Chain SecurityLearning & EducationCurated Resources
GitHubbelazy167/next-picomatch-cve-repro

next-picomatch-cve-repro

# Next.js 16.2.4에서 picomatch 4.0.3(CVE-2026-33671) 번들링에 대한 최소 재현

저장소 보기
4개월 전아직 검토되지 않음

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

Next.js 번들 picomatch CVE-2026-33671 재현

최소 재현: Next.js 16.2.4는 node_modules/next/dist/compiled/picomatch/에 벤더링된 picomatch 4.0.3을 포함하며, 이는 CVE-2026-33671(HIGH)의 영향을 받습니다. npm overrides는 번들된 복사본에 도달할 수 없습니다.

단계

root@kitploit:~
npm install

1. 벤더링된 복사본 검사

root@kitploit:~
cat node_modules/next/dist/compiled/picomatch/package.json
# → {"name":"picomatch","main":"index.js",...}  (version 필드 제거됨)

2. Trivy로 스캔

root@kitploit:~
npx next build
docker build -t next-picomatch-repro .
trivy image next-picomatch-repro

예상 출력:

root@kitploit:~
picomatch (package.json) | CVE-2026-33671 | HIGH | fixed | 4.0.3 | 4.0.4

3. overrides가 도움이 되지 않음을 증명

package.json에 다음을 추가할 수 있습니다:

root@kitploit:~
"overrides": {
  "picomatch": "4.0.4"
}

이렇게 하면 node_modules/[email protected]가 올바르게 설치되지만, node_modules/next/dist/compiled/picomatch/는 Next 자체 tarball 내부에 번들되어 있기 때문에 4.0.3으로 유지됩니다.

예상 수정

Next.js는 picomatch ≥ 4.0.4로 재번들된 dist/compiled/picomatch/가 포함된 패치 릴리스를 게시합니다. 그러면 하위 소비자는 일반적인 npm install을 통해 이를 받게 됩니다.

도구 다운로드