ALPINE-CVE-2025-61731

Source
https://security.alpinelinux.org/vuln/CVE-2025-61731
Import Source
https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2025-61731.json
JSON Data
https://api.osv.dev/v1/vulns/ALPINE-CVE-2025-61731
Upstream
Published
2026-01-28T20:16:10Z
Modified
2026-11-03T06:32:51Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Alpine:v3.23 / etcd

Package

Name
etcd
Purl
pkg:apk/alpine/etcd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.6.8-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2025-61731.json"

Alpine:v3.24 / etcd

Package

Name
etcd
Purl
pkg:apk/alpine/etcd?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.6.8-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2025-61731.json"

Alpine:v3.22 / go

Package

Name
go
Purl
pkg:apk/alpine/go?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.25.0
Fixed
1.24.12-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2025-61731.json"

Alpine:v3.23 / go

Package

Name
go
Purl
pkg:apk/alpine/go?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.25.0
Fixed
1.25.6-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2025-61731.json"

Alpine:v3.24 / go

Package

Name
go
Purl
pkg:apk/alpine/go?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.25.0
Fixed
1.25.6-r0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2025-61731.json"