🔍 CVE-2025-3047

6.5
CVSS Score
MEDIUM
2025-03-31
2026-04-15 00:35
✅ 완료

🇰🇷 한글 설명

AWS SAM CLI의 Docker 빌드 프로세스에서 심링크를 악용하여 호스트의 권한 있는 파일에 접근할 수 있는 취약점입니다. 컨테이너 환경에서 상승된 권한을 이용해 제한된 파일에 접근한 후 더 열린 위치로 복사할 수 있습니다.

💡 쉬운 설명

AWS SAM CLI의 Docker 빌드 도구를 사용할 때 심링크라는 바로가기 파일을 이용해 보안이 필요한 파일에 접근할 수 있습니다. 이를 통해 공격자는 시스템의 민감한 정보를 탈취할 수 있습니다.

🇺🇸 원문 (English)

When running the AWS Serverless Application Model Command Line Interface (SAM CLI) build process with Docker and symlinks are included in the build files, the container environment allows a user to access privileged files on the host by leveraging the elevated permissions granted to the tool. A user could leverage the elevated permissions to access restricted files via symlinks and copy them to a more permissive location on the container. Users should upgrade to v1.133.0 or newer and ensure any forked or derivative code is patched to incorporate the new fixes.

📍 영향받는 시스템

AWS SAM CLI 버전 1.133.0 미만 (모든 플랫폼)

⚔️ 공격 벡터

Docker 빌드 프로세스 중 심링크를 포함한 빌드 파일을 생성하여 컨테이너 내에서 호스트의 권한 있는 파일 접근

🛡️ 대응 방법

AWS SAM CLI를 v1.133.0 이상으로 업그레이드 하고 파생된 코드도 패치 적용

🔧 검증 코드

출력된 SAM CLI 버전이 1.133.0 이상이면 안전, 그 이하면 취약함

Shell / Script
sam --version | grep -E 'SAM CLI|1\.(1[3-9][3-9]|[2-9][0-9]{2})'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Docker