vulnerability

Ubuntu: (Multiple Advisories) (CVE-2023-24531): Go vulnerabilities

Severity
10
CVSS
(AV:N/AC:L/Au:N/C:C/I:C/A:C)
Published
Jul 2, 2024
Added
Oct 11, 2024
Modified
Feb 20, 2025

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.

Solutions

ubuntu-pro-upgrade-golang-1-17ubuntu-pro-upgrade-golang-1-17-goubuntu-pro-upgrade-golang-1-17-srcubuntu-pro-upgrade-golang-1-18ubuntu-pro-upgrade-golang-1-18-goubuntu-pro-upgrade-golang-1-18-src
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.