← Retour aux CVEs
CVE-2023-24531
CRITICAL9.8
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.
Details CVE
Score CVSS v3.19.8
SeveriteCRITICAL
Vecteur CVSSCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vecteur d'attaqueNETWORK
ComplexiteLOW
Privileges requisNONE
Interaction utilisateurNONE
Publie7/2/2024
Derniere modification3/28/2025
Sourcenvd
Observations honeypot0
References
https://go.dev/cl/488375(security@golang.org)
https://go.dev/cl/493535(security@golang.org)
https://go.dev/issue/58508(security@golang.org)
https://groups.google.com/g/golang-dev/c/ixHOFpSbajE/m/8EjlbKVWAwAJ(security@golang.org)
https://pkg.go.dev/vuln/GO-2024-2962(security@golang.org)
https://go.dev/cl/488375(af854a3a-2127-422b-91ae-364da2661108)
https://go.dev/cl/493535(af854a3a-2127-422b-91ae-364da2661108)
https://go.dev/issue/58508(af854a3a-2127-422b-91ae-364da2661108)
https://groups.google.com/g/golang-dev/c/ixHOFpSbajE/m/8EjlbKVWAwAJ(af854a3a-2127-422b-91ae-364da2661108)
https://pkg.go.dev/vuln/GO-2024-2962(af854a3a-2127-422b-91ae-364da2661108)
https://security.netapp.com/advisory/ntap-20250328-0005/(af854a3a-2127-422b-91ae-364da2661108)
Correlations IOC
Aucune correlation enregistree
This product uses data from the NVD API but is not endorsed or certified by the NVD.