CVE-2023-24531

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-24531
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-24531.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-24531
Aliases
Related
Published
2024-07-02T20:15:05Z
Modified
2024-09-11T04:18:00.240083Z
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / golang-1.15

Package

Name
golang-1.15
Purl
pkg:deb/debian/golang-1.15?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.15.9-6
1.15.15-1~deb11u1
1.15.15-1~deb11u2
1.15.15-1~deb11u3
1.15.15-1~deb11u4
1.15.15-1
1.15.15-2
1.15.15-3
1.15.15-4
1.15.15-5

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / golang-1.19

Package

Name
golang-1.19
Purl
pkg:deb/debian/golang-1.19?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.19.8-2
1.19.9-1
1.19.10-1
1.19.10-2
1.19.11-1
1.19.12-1
1.19.12-2~bpo11+1
1.19.12-2~bpo12+1
1.19.12-2
1.19.13-1~bpo11+1
1.19.13-1~bpo12+1
1.19.13-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}