This page tracks the Alpine Linux fix status. The vulnerability itself is described on the main CVE page.
View CVE-2025-61731 →
Unrated
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 p...
ALPINE-CVE-2025-61731
First seen on SecPulse
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Alpine:v3.23etcd |
< 3.6.8-r0→ 3.6.8-r0 |
3.6.8-r0 |
| Alpine:v3.24etcd |
< 3.6.8-r0→ 3.6.8-r0 |
3.6.8-r0 |
| Alpine:v3.22go |
< 1.24.12-r0→ 1.24.12-r0 |
1.24.12-r0 |
| Alpine:v3.23go |
≥ 1.25.0, < 1.25.6-r0→ 1.25.6-r0 |
1.25.6-r0 |
| Alpine:v3.24go |
≥ 1.25.0, < 1.25.6-r0→ 1.25.6-r0 |
1.25.6-r0 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security.alpinelinux.org