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

CVE-2025-61731 Arbitrary file write using cgo pkg-config directive in cmd/go

설명

Building a malicious file with cmd/go can cause can cause a write to an attacker-controlled file with partial control of the file content. The "#cgo pkg-config:" directive in a Go source file provides command-line arguments to provide to the Go pkg-config command. An attacker can provide a "--log-file" argument to this directive, causing pkg-config to write to an attacker-controlled location.

영향 받는 제품 제품 1개

  • Go toolchain

    cmd/go

    해결 버전 있음

    영향 받는 버전

    • 1.24.12 미만
    • 1.25.0 이상 1.25.6 미만

    해결 버전

    • 1.24.12 이상
    • 1.25.6 이상

참고 자료 4건

‹ 목록

점검 지원 범위 문의

도입 문의