CVE-2022-29405
Java vulnerability analysis and mitigation

Overview

The Go programming language identified a critical security vulnerability (CVE-2022-29405) where the go command may execute arbitrary code at build time when using cgo. This vulnerability was disclosed in May 2022 and affects the Go toolset and golang packages across multiple platforms (Oracle Linux, Ubuntu).

Technical details

The vulnerability has a CVSS v3.1 base score of 9.8 (Critical) with the following characteristics: Network attack vector, Low attack complexity, No privileges required, No user interaction needed, Unchanged scope, and High impact on confidentiality, integrity, and availability. The issue specifically relates to the go command's handling of cgo directives during build time, which could allow arbitrary code execution (Oracle Linux).

Impact

If exploited, this vulnerability allows attackers to execute arbitrary code during the build process when using cgo. This presents a significant security risk as it could lead to complete system compromise during the build phase of Go applications (Ubuntu).

Mitigation and workarounds

The vulnerability has been patched in various distributions. Ubuntu users should update to the patched versions: golang-1.18 (1.18.1-1ubuntu1.2) for Ubuntu 22.04, golang-1.18 (1.18.1-1ubuntu1~20.04.3) for Ubuntu 20.04, and equivalent versions for other releases (Ubuntu). Oracle Linux users should apply the relevant Critical Patch Update security patches without delay (Oracle Linux).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65091CRITICAL10
  • JavaJava
  • org.xwiki.contrib:macro-fullcalendar-pom
NoYesJan 10, 2026
CVE-2025-70974CRITICAL10
  • JavaJava
  • com.alibaba:fastjson
NoYesJan 09, 2026
CVE-2026-22244HIGH8.5
  • JavaJava
  • org.open-metadata:platform
NoYesJan 08, 2026
CVE-2025-65090MEDIUM5.3
  • JavaJava
  • org.xwiki.contrib:macro-fullcalendar-pom
NoYesJan 10, 2026
CVE-2026-0707MEDIUM5.3
  • JavaJava
  • org.keycloak:keycloak-parent
NoNoJan 08, 2026

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