🔍 CVE-2022-37865

9.1
CVSS Score
CRITICAL
2022-11-07
2026-06-17 04:55
✅ 완료

🇰🇷 한글 설명

Apache Ivy 2.5.1 미만 버전에서 zip, jar, war 패키징을 사용하는 아티팩트를 압축 해제할 때 대상 경로를 검증하지 않는 취약점이 발견되었습니다. 공격자가 상위 디렉토리 이동(..)이나 절대 경로를 포함한 악성 아카이브를 사용하면 Ivy 실행 권한이 있는 로컬 파일 시스템의 임의 위치에 파일을 쓸 수 있습니다.

💡 쉬운 설명

압축 파일을 풀 때 파일이 저장될 위치를 제대로 확인하지 않아 발생하는 문제입니다. 나쁜 의도를 가진 압축 파일을 풀면 컴퓨터의 중요한 시스템 파일을 마음대로 덮어쓸 수 있습니다.

🇺🇸 원문 (English)

With Apache Ivy 2.4.0 an optional packaging attribute has been introduced that allows artifacts to be unpacked on the fly if they used pack200 or zip packaging. For artifacts using the "zip", "jar" or "war" packaging Ivy prior to 2.5.1 doesn't verify the target path when extracting the archive. An archive containing absolute paths or paths that try to traverse "upwards" using ".." sequences can then write files to any location on the local fie system that the user executing Ivy has write access to. Ivy users of version 2.4.0 to 2.5.0 should upgrade to Ivy 2.5.1.

📍 영향받는 시스템

Apache Ivy 2.4.0 ~ 2.5.0

⚔️ 공격 벡터

경로 조작(Path Traversal)이 포함된 악성 아카이브 파일을 통한 임의 파일 쓰기

🛡️ 대응 방법

Apache Ivy를 2.5.1 버전 이상으로 업그레이드하십시오.

🔧 검증 코드

출력된 버전이 2.5.1 미만(2.4.0~2.5.0)이면 취약한 상태입니다.

Shell / Script
python -c 'import ivy; print(ivy.__version__)' 2>/dev/null || echo 'Ivy not found in python path'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM Security Verify Access