🔍 CVE-2026-86071

3.7
CVSS Score
LOW
2026-09-16
2026-09-24 21:25
✅ 완료

🇰🇷 한글 설명

Junrar 라이브러리 7.6.1 미만 버전에서 발생하는 취약점으로, 조작된 RAR 아카이브를 처리할 때 의도하지 않은 경로에 디렉토리를 생성할 수 있습니다. LocalFolderExtractor의 중간 경로 생성 과정에서 검증이 누락되어 파일 시스템 오염이나 디렉토리 점유 공격이 가능합니다.

💡 쉬운 설명

압축 파일을 풀 때 해커가 만든 특수한 파일이 지정된 폴더가 아닌 컴퓨터의 엉뚱한 곳에 폴더를 만들 수 있는 문제입니다. 이로 인해 시스템의 파일 구조가 꼬이거나 다른 중요한 파일을 저장하는 데 방해를 받을 수 있습니다.

🇺🇸 원문 (English)

Junrar is an open source Java RAR archive library. Prior to version 7.6.1, LocalFolderExtractor in src/main/java/com/github/junrar/LocalFolderExtractor.java can create directories outside the intended extraction root when processing a crafted archive entry. LocalFolderExtractor.createFile() validates only the final canonical file path, while LocalFolderExtractor.makeFile() creates intermediate path segments with unchecked mkdir() calls. An entry can therefore make the final path resolve inside the destination while causing intermediate directory creation outside it, enabling filesystem pollution or file-versus-directory squatting that can make later security-sensitive writes fail. The demonstrated impact is directory creation, not unconditional arbitrary file-content write. This issue is fixed in version 7.6.1.

📍 영향받는 시스템

Junrar library versions prior to 7.6.1

⚔️ 공격 벡터

조작된 경로 정보가 포함된 RAR 아카이브 파일을 라이브러리를 통해 압축 해제할 때 발생

🛡️ 대응 방법

Junrar 라이브러리를 7.6.1 버전 이상으로 업데이트하십시오.

🔧 검증 코드

출력된 junrar의 버전이 7.6.1 미만인지 확인하십시오.

Shell / Script
mvn dependency:list | grep junrar

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Magento Open Source