Bug 1185056 (CVE-2021-2161)

Summary: VUL-0: CVE-2021-2161: java-11-openjdk,java-1_7_0-openjdk,java-1_8_0-openjdk: Incorrect handling of partially quoted arguments in ProcessBuilder on Windows
Product: [Novell Products] SUSE Security Incidents Reporter: Alexander Bergmann <abergmann>
Component: IncidentsAssignee: Fridrich Strba <fstrba>
Status: RESOLVED INVALID QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P5 - None CC: abergmann, smash_bz
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/282393/
Whiteboard:
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Alexander Bergmann 2021-04-21 09:13:26 UTC
rh#1951231

It was discovered that the implementation of ProcesBuilder 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.

Note: This issue did not affect OpenJDK builds on the Linux platform.

References:
https://bugzilla.redhat.com/show_bug.cgi?id=1951231
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-2161
Comment 1 Alexander Bergmann 2021-04-21 09:14:04 UTC
Windows only. Closing as INVALID.
Comment 3 Swamp Workflow Management 2021-04-26 10:16:00 UTC
SUSE-SU-2021:1314-1: An update that solves two vulnerabilities and has one errata is now available.

Category: security (important)
Bug References: 1184606,1185055,1185056
CVE References: CVE-2021-2161,CVE-2021-2163
JIRA References: 
Sources used:
SUSE Linux Enterprise Server 12-SP5 (src):    java-11-openjdk-11.0.11.0-3.21.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 4 Swamp Workflow Management 2021-05-11 13:20:15 UTC
SUSE-SU-2021:1554-1: An update that solves two vulnerabilities and has one errata is now available.

Category: security (important)
Bug References: 1184606,1185055,1185056
CVE References: CVE-2021-2161,CVE-2021-2163
JIRA References: 
Sources used:
SUSE Manager Server 4.0 (src):    java-11-openjdk-11.0.11.0-3.56.1
SUSE Manager Retail Branch Server 4.0 (src):    java-11-openjdk-11.0.11.0-3.56.1
SUSE Manager Proxy 4.0 (src):    java-11-openjdk-11.0.11.0-3.56.1
SUSE Linux Enterprise Server for SAP 15-SP1 (src):    java-11-openjdk-11.0.11.0-3.56.1
SUSE Linux Enterprise Server for SAP 15 (src):    java-11-openjdk-11.0.11.0-3.56.1
SUSE Linux Enterprise Server 15-SP1-LTSS (src):    java-11-openjdk-11.0.11.0-3.56.1
SUSE Linux Enterprise Server 15-SP1-BCL (src):    java-11-openjdk-11.0.11.0-3.56.1
SUSE Linux Enterprise Server 15-LTSS (src):    java-11-openjdk-11.0.11.0-3.56.1
SUSE Linux Enterprise Module for Packagehub Subpackages 15-SP3 (src):    java-11-openjdk-11.0.11.0-3.56.1
SUSE Linux Enterprise Module for Packagehub Subpackages 15-SP2 (src):    java-11-openjdk-11.0.11.0-3.56.1
SUSE Linux Enterprise Module for Basesystem 15-SP3 (src):    java-11-openjdk-11.0.11.0-3.56.1
SUSE Linux Enterprise Module for Basesystem 15-SP2 (src):    java-11-openjdk-11.0.11.0-3.56.1
SUSE Linux Enterprise High Performance Computing 15-SP1-LTSS (src):    java-11-openjdk-11.0.11.0-3.56.1
SUSE Linux Enterprise High Performance Computing 15-SP1-ESPOS (src):    java-11-openjdk-11.0.11.0-3.56.1
SUSE Linux Enterprise High Performance Computing 15-LTSS (src):    java-11-openjdk-11.0.11.0-3.56.1
SUSE Linux Enterprise High Performance Computing 15-ESPOS (src):    java-11-openjdk-11.0.11.0-3.56.1
SUSE Enterprise Storage 6 (src):    java-11-openjdk-11.0.11.0-3.56.1
SUSE CaaS Platform 4.0 (src):    java-11-openjdk-11.0.11.0-3.56.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 5 Swamp Workflow Management 2021-05-13 22:16:05 UTC
openSUSE-SU-2021:0719-1: An update that solves two vulnerabilities and has one errata is now available.

Category: security (important)
Bug References: 1184606,1185055,1185056
CVE References: CVE-2021-2161,CVE-2021-2163
JIRA References: 
Sources used:
openSUSE Leap 15.2 (src):    java-11-openjdk-11.0.11.0-lp152.2.12.1
Comment 11 Swamp Workflow Management 2021-08-20 13:29:37 UTC
# maintenance_jira_update_notice
SUSE-SU-2021:2797-1: An update that fixes four vulnerabilities is now available.

Category: security (important)
Bug References: 1185056,1188564,1188565,1188566
CVE References: CVE-2021-2161,CVE-2021-2341,CVE-2021-2369,CVE-2021-2388
JIRA References: 
Sources used:
SUSE OpenStack Cloud Crowbar 9 (src):    java-1_8_0-openjdk-1.8.0.302-27.63.2
SUSE OpenStack Cloud Crowbar 8 (src):    java-1_8_0-openjdk-1.8.0.302-27.63.2
SUSE OpenStack Cloud 9 (src):    java-1_8_0-openjdk-1.8.0.302-27.63.2
SUSE OpenStack Cloud 8 (src):    java-1_8_0-openjdk-1.8.0.302-27.63.2
SUSE Linux Enterprise Server for SAP 12-SP4 (src):    java-1_8_0-openjdk-1.8.0.302-27.63.2
SUSE Linux Enterprise Server for SAP 12-SP3 (src):    java-1_8_0-openjdk-1.8.0.302-27.63.2
SUSE Linux Enterprise Server 12-SP5 (src):    java-1_8_0-openjdk-1.8.0.302-27.63.2
SUSE Linux Enterprise Server 12-SP4-LTSS (src):    java-1_8_0-openjdk-1.8.0.302-27.63.2
SUSE Linux Enterprise Server 12-SP3-LTSS (src):    java-1_8_0-openjdk-1.8.0.302-27.63.2
SUSE Linux Enterprise Server 12-SP3-BCL (src):    java-1_8_0-openjdk-1.8.0.302-27.63.2
SUSE Linux Enterprise Server 12-SP2-BCL (src):    java-1_8_0-openjdk-1.8.0.302-27.63.2
HPE Helion Openstack 8 (src):    java-1_8_0-openjdk-1.8.0.302-27.63.2

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 12 Swamp Workflow Management 2021-08-20 13:51:13 UTC
# maintenance_jira_update_notice
SUSE-SU-2021:2798-1: An update that fixes four vulnerabilities is now available.

Category: security (important)
Bug References: 1185056,1188564,1188565,1188566
CVE References: CVE-2021-2161,CVE-2021-2341,CVE-2021-2369,CVE-2021-2388
JIRA References: 
Sources used:
SUSE Manager Server 4.0 (src):    java-1_8_0-openjdk-1.8.0.302-3.55.2
SUSE Manager Retail Branch Server 4.0 (src):    java-1_8_0-openjdk-1.8.0.302-3.55.2
SUSE Manager Proxy 4.0 (src):    java-1_8_0-openjdk-1.8.0.302-3.55.2
SUSE Linux Enterprise Server for SAP 15-SP1 (src):    java-1_8_0-openjdk-1.8.0.302-3.55.2
SUSE Linux Enterprise Server for SAP 15 (src):    java-1_8_0-openjdk-1.8.0.302-3.55.2
SUSE Linux Enterprise Server 15-SP1-LTSS (src):    java-1_8_0-openjdk-1.8.0.302-3.55.2
SUSE Linux Enterprise Server 15-SP1-BCL (src):    java-1_8_0-openjdk-1.8.0.302-3.55.2
SUSE Linux Enterprise Server 15-LTSS (src):    java-1_8_0-openjdk-1.8.0.302-3.55.2
SUSE Linux Enterprise Module for Legacy Software 15-SP3 (src):    java-1_8_0-openjdk-1.8.0.302-3.55.2
SUSE Linux Enterprise Module for Legacy Software 15-SP2 (src):    java-1_8_0-openjdk-1.8.0.302-3.55.2
SUSE Enterprise Storage 6 (src):    java-1_8_0-openjdk-1.8.0.302-3.55.2
SUSE CaaS Platform 4.0 (src):    java-1_8_0-openjdk-1.8.0.302-3.55.2

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 13 Swamp Workflow Management 2021-08-20 13:56:27 UTC
# maintenance_jira_update_notice
openSUSE-SU-2021:2798-1: An update that fixes four vulnerabilities is now available.

Category: security (important)
Bug References: 1185056,1188564,1188565,1188566
CVE References: CVE-2021-2161,CVE-2021-2341,CVE-2021-2369,CVE-2021-2388
JIRA References: 
Sources used:
openSUSE Leap 15.3 (src):    java-1_8_0-openjdk-1.8.0.302-3.55.2
Comment 14 Swamp Workflow Management 2021-08-21 13:17:58 UTC
# maintenance_jira_update_notice
openSUSE-SU-2021:1176-1: An update that fixes four vulnerabilities is now available.

Category: security (important)
Bug References: 1185056,1188564,1188565,1188566
CVE References: CVE-2021-2161,CVE-2021-2341,CVE-2021-2369,CVE-2021-2388
JIRA References: 
Sources used:
openSUSE Leap 15.2 (src):    java-1_8_0-openjdk-1.8.0.302-lp152.2.15.1
Comment 15 Swamp Workflow Management 2021-09-09 16:23:09 UTC
# maintenance_jira_update_notice
SUSE-SU-2021:3007-1: An update that fixes 6 vulnerabilities is now available.

Category: security (moderate)
Bug References: 1185055,1185056,1188564,1188565,1188568
CVE References: CVE-2018-3639,CVE-2021-2161,CVE-2021-2163,CVE-2021-2341,CVE-2021-2369,CVE-2021-2432
JIRA References: 
Sources used:
SUSE Linux Enterprise Server 12-SP5 (src):    java-1_7_0-openjdk-1.7.0.311-43.50.2

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 17 Swamp Workflow Management 2021-11-04 17:28:08 UTC
openSUSE-SU-2021:3615-1: An update that fixes 15 vulnerabilities is now available.

Category: security (important)
Bug References: 1185055,1185056,1188564,1188565,1188566,1191901,1191903,1191904,1191906,1191909,1191910,1191911,1191912,1191913,1191914
CVE References: CVE-2021-2161,CVE-2021-2163,CVE-2021-2341,CVE-2021-2369,CVE-2021-2388,CVE-2021-35550,CVE-2021-35556,CVE-2021-35559,CVE-2021-35561,CVE-2021-35564,CVE-2021-35565,CVE-2021-35567,CVE-2021-35578,CVE-2021-35586,CVE-2021-35603
JIRA References: 
Sources used:
openSUSE Leap 15.3 (src):    java-1_8_0-openj9-1.8.0.312-3.18.2
Comment 18 Swamp Workflow Management 2021-11-06 05:16:41 UTC
openSUSE-SU-2021:1455-1: An update that fixes 15 vulnerabilities is now available.

Category: security (important)
Bug References: 1185055,1185056,1188564,1188565,1188566,1191901,1191903,1191904,1191906,1191909,1191910,1191911,1191912,1191913,1191914
CVE References: CVE-2021-2161,CVE-2021-2163,CVE-2021-2341,CVE-2021-2369,CVE-2021-2388,CVE-2021-35550,CVE-2021-35556,CVE-2021-35559,CVE-2021-35561,CVE-2021-35564,CVE-2021-35565,CVE-2021-35567,CVE-2021-35578,CVE-2021-35586,CVE-2021-35603
JIRA References: 
Sources used:
openSUSE Leap 15.2 (src):    java-1_8_0-openj9-1.8.0.312-lp152.3.12.1