ГлавнаяУязвимости → CVE-2025-61731
7.8высокая

CVE-2025-61731

→ есть в БДУ: BDU:2026-03411 (на русском)
Описание (на английском; русское — в БДУ выше)

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.

Затрагиваемое ПО
Golang Go
CVSS
Балл7.8 — высокая
ВекторCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Источники
https://go.dev/cl/736711https://go.dev/issue/77100https://groups.google.com/g/golang-announce/c/Vd2tYVM8eUchttps://pkg.go.dev/vuln/GO-2026-4339https://access.redhat.com/errata/RHSA-2026:12118https://access.redhat.com/errata/RHSA-2026:12282https://access.redhat.com/errata/RHSA-2026:13736https://access.redhat.com/errata/RHSA-2026:14100