🔍 CVE-2026-82331

9.8
CVSS Score
CRITICAL
2026-09-23
2026-09-23 17:58
✅ 완료

🇰🇷 한글 설명

Python 3.12 미만 버전에서 실행되는 Apache BuildStream의 tar 소스 플러그인에 심볼릭 링크를 이용한 파일 접근 오류가 존재합니다. 악의적인 소스 tarball을 통해 BuildStream을 실행하는 사용자의 권한으로 호스트 시스템에 파일을 작성할 수 있습니다.

💡 쉬운 설명

압축 파일을 풀 때 가짜 연결 통로(심볼릭 링크)를 만들어 컴퓨터의 중요한 파일을 몰래 수정하거나 생성할 수 있는 보안 약점입니다. 해커가 만든 압축 파일을 실행하면 내 컴퓨터의 권한을 탈취당할 수 있습니다.

🇺🇸 원문 (English)

Improper link resolution before file access ('link following') vulnerability in the `tar` source plugin of Apache BuildStream running on Python < 3.12 allows malicious source tarballs to write files on the host, with the privileges of the user running BuildStream, via symlinks as part of source fetching. The impact of this issue is mitigated by: * BuildStream projects should only use trusted sources in their elements as otherwise the build output can also not be trusted * Tracking a source tarball pins its SHA256 hash, which prevents MITM attacks of users that are fetching an already tracked project * When running on Python >= 3.12, BuildStream >= 2.3.0 already makes use of the Python `tarfile` filter functionality, which blocks the symlink escape Users are recommended to upgrade to version 2.8.1, which fixes this issue.

📍 영향받는 시스템

Apache BuildStream (Python < 3.12 환경)

⚔️ 공격 벡터

악의적으로 조작된 심볼릭 링크가 포함된 소스 tarball을 통한 파일 시스템 쓰기 공격

🛡️ 대응 방법

Apache BuildStream을 버전 2.8.1 이상으로 업그레이드하거나 Python 3.12 이상 환경에서 실행하십시오.

🔧 검증 코드

출력된 Version이 2.8.1 미만이면 취약할 가능성이 높으므로 업데이트가 필요합니다.

Shell / Script
pip show buildstream | grep -E 'Version'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Python