Command Injection Affecting openjdk-jre package, versions [16.0.0,16.0.1) [11.0.0,11.0.11) [1.8.0,1.8.0_291) [1.7.0,1.7.0_301)
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-UPSTREAM-OPENJDKJRE-1252750
- published 21 Apr 2021
- disclosed 20 Apr 2021
- credit Markus Loewe
Introduced: 20 Apr 2021
CVE-2021-2161 Open this link in a new tabHow to fix?
Upgrade openjdk-jre
to version 16.0.1, 11.0.11, 8.0.291, 7.0.301 or higher.
Overview
openjdk-jre is a free and open-source implementation of the Java Platform, Standard Edition (Java SE).
Affected versions of this package are vulnerable to Command Injection. It was discovered that the implementation of ProcessBuilder
in the Libraries
component of OpenJDK on the Windows platform did not properly detect command arguments that were not quoted correctly. This could lead to manipulation of command arguments when executing processes with arguments from untrusted sources.