CVE-2023-24531 Affecting golang-1.19 package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-GOLANG119-7420327
  • published4 Jul 2024
  • disclosed2 Jul 2024

Introduced: 2 Jul 2024

CVE-2023-24531  (opens in a new tab)

How to fix?

There is no fixed version for Debian:12 golang-1.19.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-1.19 package and not the golang-1.19 package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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.