kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-50162 oras-go: file store write outside workingDir via symlink traversal

설명

oras-go is a Go library for managing OCI artifacts. Prior to 2.6.1, resolveWritePath() in content/file/file.go uses a lexical filepath.Rel check for workingDir and does not account for symlink traversal, so when AllowPathTraversalOnWrite=false an attacker-controlled blob title through ocispec.AnnotationTitle such as out/pwn.txt can follow a workingDir symlink out -> /some/outside/dir and cause pushFile() to create /some/outside/dir/pwn.txt outside workingDir. This issue is fixed in version 2.6.1.

영향 받는 제품 제품 1개

  • oras-project

    oras-go

    해결 버전 있음

    영향 받는 버전

    • 2.6.1 미만

    해결 버전

    • 2.6.1 이상

참고 자료 3건

‹ 목록

점검 지원 범위 문의

도입 문의