CVE-2023-24531
CBL Mariner vulnerability analysis and mitigation

Overview

CVE-2023-24531 is a security vulnerability discovered in the Go programming language's 'go env' command. The vulnerability was disclosed on July 2, 2024, affecting Go versions before 1.21.0-0. The issue stems from the command's failure to properly sanitize environment variable values when outputting them as a shell script (NVD, Go Issue).

Technical details

The vulnerability exists in the 'go env' command, which is documented to output a shell script containing the Go environment. The command fails to sanitize values properly, which can lead to command injection or unauthorized environment variable manipulation. The issue has been assigned a CVSS v3.1 base score of 9.8 (CRITICAL) by CISA-ADP (NVD).

Impact

When exploited, this vulnerability can allow attackers to execute arbitrary commands or insert new environment variables through crafted environment variable values. For example, an attacker could set malicious values for variables like CC that would be executed when the output is sourced as a shell script (Go Issue).

Mitigation and workarounds

The vulnerability has been fixed in Go version 1.21.0 and later. Users are advised to upgrade to this version or later to address the issue. The fix includes proper sanitization of environment variable values and improved quoting mechanisms for the 'go env' command output (Ubuntu Notice).

Additional resources


SourceThis report was generated using AI

Related CBL Mariner vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66031HIGH8.7
  • JavaScriptJavaScript
  • kibana-8.18
NoYesNov 26, 2025
CVE-2025-12638HIGH8
  • CBL MarinerCBL Mariner
  • keras
NoYesNov 28, 2025
CVE-2025-13601HIGH7.7
  • CBL MarinerCBL Mariner
  • glib2-devel
NoYesNov 26, 2025
CVE-2025-66293HIGH7.1
  • OpenJDK JDKOpenJDK JDK
  • java-25-openjdk
NoYesDec 03, 2025
CVE-2025-66030MEDIUM6.3
  • JavaScriptJavaScript
  • kubeflow-pipelines
NoYesNov 26, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management