Bug 2295281 (CVE-2023-24531) - CVE-2023-24531 cmd/go: cmd/go: output does not sanitize values
Summary: CVE-2023-24531 cmd/go: cmd/go: output does not sanitize values
Keywords:
Status: NEW
Alias: CVE-2023-24531
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-02 20:33 UTC by OSIDB Bzimport
Modified: 2024-09-16 09:58 UTC (History)
15 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-07-02 20:33:17 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.