CVE-2022-25914
Java vulnerability analysis and mitigation

Overview

The vulnerability CVE-2022-25914 affects the package com.google.cloud.tools:jib-core versions before 0.22.0. This critical security flaw was discovered in February 2022 and involves a Remote Code Execution (RCE) vulnerability via the isDockerInstalled function. The vulnerability stems from the package attempting to execute input without proper validation (Snyk, MITRE).

Technical details

The vulnerability exists in the isDockerInstalled function of the jib-core package, which previously attempted to execute any provided executable path without proper validation. The issue has a CVSS v3.1 base score of 9.8 (Critical) according to Red Hat's assessment, though Snyk rates it with a score of 5.6 (Medium). The vulnerability allows potential remote code execution through the improper handling of executable paths (Red Hat, Snyk).

Impact

If exploited, this vulnerability could allow attackers to execute arbitrary code through the isDockerInstalled function. The impact includes potential unauthorized code execution with the permissions of the running application, which could lead to system compromise (Snyk).

Mitigation and workarounds

The recommended mitigation is to upgrade com.google.cloud.tools:jib-core to version 0.22.0 or higher. The fix involves changing the implementation to verify file existence and permissions instead of executing the file to check if Docker is installed (GitHub Commit).

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-55749HIGH8.7
  • JavaJava
  • org.xwiki.platform:xwiki-platform-tool-jetty-resources
NoYesDec 01, 2025
CVE-2025-64775HIGH7.5
  • JavaJava
  • javapackages-tools:201801::guice-servlet
NoYesDec 01, 2025
CVE-2025-13806MEDIUM6.9
  • JavaJava
  • org.nutz:nutzboot-parent
NoNoDec 01, 2025
CVE-2025-66453MEDIUM5.5
  • JavaJava
  • org.mozilla:rhino
NoYesDec 03, 2025
CVE-2025-13472MEDIUM5.3
  • JavaJava
  • com.blazemeter.plugins:blazemeterjenkinsplugin
NoYesDec 03, 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