CVE-2022-25914
jib-core: RCE via the isDockerInstalled
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (high).
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 and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | com.google.cloud.tools:jib-core | 0.22.0 |
References
- https://access.redhat.com/security/cve/CVE-2022-25914
- https://github.com/GoogleContainerTools/jib
- https://github.com/GoogleContainerTools/jib/commit/67fa40bc2c484da0546333914ea07a89fe44eaaf
- https://github.com/GoogleContainerTools/jib/pull/3744
- https://nvd.nist.gov/vuln/detail/CVE-2022-25914
- https://security.snyk.io/vuln/SNYK-JAVA-COMGOOGLECLOUDTOOLS-2968871
- https://www.cve.org/CVERecord?id=CVE-2022-25914