🔍 CVE-2026-107391

6.2
CVSS Score
MEDIUM
2026-10-08
2026-10-13 19:39
✅ 완료

🇰🇷 한글 설명

music-metadata의 MP4 stsd 샘플 설명 파서에서 발생한 회귀 결함으로, 공격자가 조작된 MP4 파일을 통해 샘플 엔트리 크기를 0으로 설정할 수 있습니다. 이로 인해 커서가 전진하지 못하고 무한 루프가 실행되어 Node.js 이벤트 루프가 차단되거나 메모리가 고갈될 수 있습니다.

💡 쉬운 설명

악의적으로 만들어진 음악이나 영상 파일을 재생하려고 하면 프로그램이 무한 루프에 빠져 멈추거나 컴퓨터 메모리를 모두 써버릴 수 있는 문제입니다. 이로 인해 서비스가 중단될 수 있습니다.

🇺🇸 원문 (English)

music-metadata is a metadata parser for audio and video media files. In the public development revision introduced after 11.14.0, a development-branch regression in the MP4 stsd sample-description parser allows an attacker-controlled sample-entry size of zero to prevent the StsdAtom.get cursor from advancing while an attacker-controlled entry_count keeps the synchronous loop running. A crafted MP4-family input can block the Node.js event loop and grow the sample-description table until the process is terminated or exhausts memory. The vulnerable change was present on the public master branch but was not included in music-metadata 11.14.0 or any earlier npm release, and version 11.16.0 contains the fix. This issue is fixed in version 11.16.0.

📍 영향받는 시스템

music-metadata 11.14.0 이후 개발 버전 (11.16.0 미만 버전)

⚔️ 공격 벡터

조작된 MP4 형식의 미디어 파일을 업로드하거나 처리하도록 유도하여 서비스 거부(DoS) 공격 수행

🛡️ 대응 방법

music-metadata 라이브러리를 11.16.0 이상의 최신 버전으로 업데이트

🔧 검증 코드

출력된 버전이 11.16.0보다 낮은지 확인하여 취약 여부를 판단합니다.

Shell / Script
npm list music-metadata

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Node.js