En resumen
- CVE-2025-61731 es una vulnerabilidad ALTO (CVSS 7.8) que afecta a toolchain, go (golang).
- Probabilidad de explotación en los próximos 30 días (EPSS): 0.61%, mayor que el 49.2% de las vulnerabilidades.
- Solución: actualizar a 1.25.6, 1.24.12 o posterior.
| Package | Affected versions | Patched versions |
|---|
| toolchain Go | ≥ 1.25.0, < 1.25.6< 1.24.12
| 1.25.61.24.12
|
| go | ≥ 1.25.0, < 1.25.6< 1.24.12
| 1.25.61.24.12
|
Description
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.
NVD description
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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free