CVE-2022-25914 Remote Code Execution (RCE)

Medium 5.6 Published Updated

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.

PackageAffectedFixed in
com.google.cloud.tools:jib-core MavenAll versions0.22.0
com.google.cloud.tools:jib-core MavenAll versions0.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.

Is CVE-2022-25914 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free