🔍 CVE-2026-45774

0.0
CVSS Score
UNKNOWN
2026-08-13
2026-09-18 20:09
✅ 완료

🇰🇷 한글 설명

compliance-trestle 라이브러리의 프로필 가져오기 메커니즘에서 경로 경계 검사가 누락되어 발생한 취약점입니다. 공격자가 경로 탐색(Path Traversal) 시퀀스가 포함된 악성 OSCAL 프로필 YAML을 작성하면 서버 파일 시스템의 임의 파일을 읽을 수 있습니다.

💡 쉬운 설명

프로그램이 파일을 불러올 때 정해진 폴더 밖의 파일에 접근하는 것을 막지 못하는 보안 결함입니다. 이를 통해 해커가 서버에 저장된 중요한 파일을 몰래 훔쳐볼 수 있습니다.

🇺🇸 원문 (English)

compliance-trestle is a tooling platform for managing compliance as code. Prior to versions 3.12.2 and 4.0.3, the compliance-trestle library's profile import mechanism resolves `trestle://` URIs and relative file paths by joining them with `trestle_root` and calling `.resolve()`, but performs no boundary check to ensure the resolved path stays within the trestle workspace. An attacker can craft a malicious OSCAL profile YAML with `imports[].href` containing path traversal sequences to read arbitrary files from the server filesystem. Versions 3.12.3 and 4.0.3 patch the issue.

📍 영향받는 시스템

compliance-trestle versions prior to 3.12.2 and 4.0.3

⚔️ 공격 벡터

경로 탐색 시퀀스(.. 등)가 포함된 악성 OSCAL 프로필 YAML 파일을 업로드하여 공격

🛡️ 대응 방법

compliance-trestle를 3.12.3 또는 4.0.3 이상의 버전으로 업데이트

🔧 검증 코드

출력된 버전이 3.12.3 또는 4.0.3 이상인지 확인하여 취약 여부를 판단합니다.

Shell / Script
pip show compliance-trestle | grep Version

💻 영향받는 소프트웨어

UniFi OS Server