Lucene search
K

22 matches found

RedHat Linux
RedHat Linux
added 2026/04/13 5:44 p.m.0 views

cmd/go: cmd/go: Arbitrary file write via malicious pkg-config directive

A flaw was found in cmd/go. An attacker can exploit this by building a malicious Go source file that uses the 'cgo pkg-config:' directive. This allows the attacker to write to an arbitrary file with partial control over its content, by providing a '--log-file' argument to the pkg-config command...

7.8CVSS5.9AI score0.00012EPSS
Exploits0References8
RedHat Linux
RedHat Linux
added 2026/04/13 10:25 a.m.2 views

cmd/go: cmd/go: Arbitrary file write via malicious pkg-config directive

A flaw was found in cmd/go. An attacker can exploit this by building a malicious Go source file that uses the 'cgo pkg-config:' directive. This allows the attacker to write to an arbitrary file with partial control over its content, by providing a '--log-file' argument to the pkg-config command...

7.8CVSS7.2AI score0.00012EPSS
Exploits0References8
RedHat Linux
RedHat Linux
added 2026/04/08 12:41 a.m.3 views

cmd/go: cmd/go: Arbitrary file write via malicious pkg-config directive

A flaw was found in cmd/go. An attacker can exploit this by building a malicious Go source file that uses the 'cgo pkg-config:' directive. This allows the attacker to write to an arbitrary file with partial control over its content, by providing a '--log-file' argument to the pkg-config command...

7.8CVSS7.1AI score0.00012EPSS
Exploits0References8
OSV
OSV
added 2026/04/01 10:47 a.m.5 views

CLSA-2026-1775040432 golang: Fix of CVE-2025-61731

CVE-2025-61731: fix pkg-config --log-file argument injection via cgo pkg-config directive...

7.8CVSS7.3AI score0.00012EPSS
Exploits0References1
RedhatCVE
RedhatCVE
added 2026/02/04 6:9 p.m.1 views

CVE-2025-61731

A flaw was found in cmd/go. An attacker can exploit this by building a malicious Go source file that uses the 'cgo pkg-config:' directive. This allows the attacker to write to an arbitrary file with partial control over its content, by providing a '--log-file' argument to the pkg-config command...

8.6CVSS5.3AI score0.00012EPSS
Exploits0References7
OSV
OSV
added 2026/01/31 8:43 a.m.2 views

BIT-GOLANG-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...

7.8CVSS7.3AI score0.00012EPSS
Exploits0References5
NVD
NVD
added 2026/01/28 8:16 p.m.2 views

CVE-2025-61731

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...

7.8CVSS0.00012EPSS
Exploits0References4
OSV
OSV
added 2026/01/28 8:16 p.m.2 views

UBUNTU-CVE-2025-61731

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...

7.8CVSS5.7AI score0.00012EPSS
Exploits0References4
EUVD
EUVD
added 2026/01/28 7:30 p.m.1 views

EUVD-2025-206447

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...

7.8CVSS5.9AI score0.00012EPSS
Exploits0References4
Cvelist
Cvelist
added 2026/01/28 7:30 p.m.17 views

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...

0.00012EPSS
Exploits0References4
CVE
CVE
added 2026/01/28 7:30 p.m.20 views

CVE-2025-61731

CVE-2025-61731 is referenced in connected advisories for Amazon Linux 2023 as affecting the Go toolchain, specifically the cmd/go component. The documented impact in those sources states that a bypass of flag sanitization can lead to arbitrary code execution when using the toolchain (CVE-2025-617...

7.8CVSS7.3AI score0.00012EPSS
Exploits0References4Affected Software1
AlpineLinux
AlpineLinux
added 2026/01/28 7:30 p.m.6 views

CVE-2025-61731

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...

7.8CVSS7.3AI score0.00012EPSS
Exploits0
OSV
OSV
added 2026/01/28 7:7 p.m.2 views

GO-2026-4339 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...

7.8CVSS5.9AI score0.00012EPSS
Exploits0References3
EUVD
EUVD
added 2025/10/07 12:30 a.m.1 views

EUVD-2020-20826

Malware in sbrugna...

7.5CVSS7.6AI score0.00272EPSS
Exploits0References16
CVE
CVE
added 2025/02/06 5:9 p.m.79 views

CVE-2025-22867

CVE-2025-22867 : In Go on Darwin, building a module with CGO can trigger arbitrary code execution when using the Apple ld if a Go linker flag uses runtime path keywords (@executable_path, @loader_path, @rpath). The root cause is tied to how these paths are handled in a "#cgo LDFLAGS" directive. T...

7.5CVSS7.1AI score0.00411EPSS
Exploits0References4
Vulnrichment
Vulnrichment
added 2025/02/06 5:9 p.m.11 views

CVE-2025-22867 Arbitrary code execution during build on darwin in cmd/go

On Darwin, building a Go module which contains CGO can trigger arbitrary code execution when using the Apple version of ld, due to usage of the @executablepath, @loaderpath, or @rpath special values in a "cgo LDFLAGS" directive. This issue only affected go1.24rc2...

7.5AI score0.00411EPSS
Exploits0References4
OSV
OSV
added 2025/02/06 4:54 p.m.33 views

GO-2025-3428 Arbitrary code execution during build on darwin in cmd/go

On Darwin, building a Go module which contains CGO can trigger arbitrary code execution when using the Apple version of ld, due to usage of the @executablepath, @loaderpath, or @rpath special values in a "cgo LDFLAGS" directive. This issue only affected go1.24rc2...

7.5CVSS7.7AI score0.00411EPSS
Exploits0References3
OSV
OSV
added 2020/11/18 5:15 p.m.1 views

DEBIAN-CVE-2020-28367

Code injection in the go command with cgo before Go 1.14.12 and Go 1.15.5 allows arbitrary code execution at build time via malicious gcc flags specified via a cgo directive...

7.5CVSS8.4AI score0.00272EPSS
Exploits0References1
OSV
OSV
added 2020/11/18 5:15 p.m.0 views

UBUNTU-CVE-2020-28367

Code injection in the go command with cgo before Go 1.14.12 and Go 1.15.5 allows arbitrary code execution at build time via malicious gcc flags specified via a cgo directive...

7.5CVSS7.8AI score0.00272EPSS
Exploits0References3
UbuntuCve
UbuntuCve
added 2020/11/18 5:15 p.m.20 views

CVE-2020-28367

Code injection in the go command with cgo before Go 1.14.12 and Go 1.15.5 allows arbitrary code execution at build time via malicious gcc flags specified via a cgo directive...

7.5CVSS7.7AI score0.00272EPSS
Exploits0References2
Rows per page
Query Builder