En resumen
- CVE-2023-24531 es una vulnerabilidad CRÍTICO (CVSS 9.8) que afecta a toolchain.
- Probabilidad de explotación en los próximos 30 días (EPSS): 0.84%, mayor que el 57.9% de las vulnerabilidades.
- Solución: actualizar a 1.21.0-0 o posterior.
| Package | Affected versions | Patched versions |
|---|
| toolchain Go | < 1.21.0-0
| 1.21.0-0
|
Description
Command go env is documented as outputting a shell script containing the Go environment. However, go env doesn't sanitize values, so executing its output as a shell script can cause various bad bahaviors, including executing arbitrary commands or inserting new environment variables.
This issue is relatively minor because, in general, if an attacker can set arbitrary environment variables on a system, they have better attack vectors than making "go env" print them out.
NVD description
Command go env is documented as outputting a shell script containing the Go environment. However, go env doesn't sanitize values, so executing its output as a shell script can cause various bad bahaviors, including executing arbitrary commands or inserting new environment variables. This issue is relatively minor because, in general, if an attacker can set arbitrary environment variables on a system, they have better attack vectors than making "go env" print them out.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free