CVE-2022-25914 is a medium-severity (CVSS 5.6) remote code execution vulnerability in com.google.cloud.tools:jib-core. A fix is available for com.google.cloud.tools:jib-core — see the affected versions and patch details below.
Remote Code Execution (RCE)
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
com.google.cloud.tools:jib-coreReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
The package com.google.cloud.tools:jib-core before 0.22.0 are vulnerable to Remote Code Execution (RCE) via the isDockerInstalled function, due to attempting to execute input.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | com.google.cloud.tools:jib-core | all versions | 0.22.0com.google.cloud.tools:jib-core:0.22.0 |
Affected Products
jibjib_projectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for com.google.cloud.tools:jib-core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update com.google.cloud.tools:jib-core to 0.22.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-25914 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
| Product | Fixed in | Advisory |
|---|---|---|
| Migration Toolkit for Runtimes 1 on RHEL 8 | org.jboss.windup-windup-openshift-parent | RHSA-2023:0471 |
Frequently Asked Questions
Is CVE-2022-25914 in your dependencies?
Find it across Maven, including transitive dependencies.