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
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| golang-1.10 | — | — |
| golang-1.13 | — | — |
| golang-1.14 | — | — |
| golang-1.16 | — | — |
| golang-1.17 | — | 1.17.13-3ubuntu1.2 |
| golang-1.18 | — | 1.18.1-1ubuntu1.2 |
| golang-1.20 | — | — |
| golang-1.21 | — | — |
| golang-1.6 | — | — |
| golang-1.8 | — | — |
| golang-1.9 | — | — |
References
Similar Threats
- Unknown UBUNTU-CVE-2023-24534
- Unknown UBUNTU-CVE-2023-24532
- Unknown UBUNTU-CVE-2022-41723
- Unknown UBUNTU-CVE-2022-41725
- Unknown UBUNTU-CVE-2022-41717
Free Vulnerability Check
Is your WordPress site affected?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.