CVE-2022-25914 Remote Code Execution (RCE)
Attackers can execute arbitrary commands via the isDockerInstalled function in the jib-core library, leading to remote code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-25914?
CVE-2022-25914 is a medium-severity command injection vulnerability in com.google.cloud.tools:jib-core, published on 8 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Which versions are affected by CVE-2022-25914?
2 open source packages ship an affected version, including com.google.cloud.tools:jib-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
com.google.cloud.tools:jib-core Maven | All versions | 0.22.0 |
com.google.cloud.tools:jib-core Maven | All versions | 0.22.0 |
Products include Jib Project Jib.
How do I fix CVE-2022-25914?
Upgrade com.google.cloud.tools:jib-core to 0.22.0 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2022-25914 being exploited?
There is no known exploitation of CVE-2022-25914 in the wild and no public exploit code.
Sources
Also known as GHSA-936v-cg49-m2g5.