CVEfocus › CVE database › CVE-2021-2161

CVE-2021-2161

CVSS 5.9 MediumEPSS 2.8% (higher than 87% of CVEs)Published 2021-04-22Updated 2024-09-26Assigner: oracle

Vulnerability in the Java SE, Java SE Embedded, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Libraries). Supported versions that are affected are Java SE: 7u291, 8u281, 11.0.10, 16; Java SE Embedded: 8u281; Oracle GraalVM Enterprise Edition: 19.3.5, 20.3.1.2 and 21.0.0.2. Difficult to exploit vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise Java SE, Java SE Embedded, Oracle GraalVM Enterprise Edition. Successful attacks of this vulnerability can result in unauthorized creation, deletion or modification access to critical data or all Java SE, Java SE Embedded, Oracle GraalVM Enterprise Edition accessible data. Note: This vulnerability applies to Java deployments that load and run untrusted code (e.g., code that comes from the internet) and rely on the Java sandbox for security. It can also be exploited by supplying untrusted data to APIs in the specified Component. CVSS 3.1 Base Score 5.9 (Integrity impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N).

What to do

Fixed builds are available from Alpine: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
1Fix pending
3Under investigation
5Will not fix
106Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10icedtea-webFix pendingUBUNTU-CVE-2021-2161
Ubuntu 26.04icedtea-webUnder investigationUBUNTU-CVE-2021-2161
Ubuntu 26.04openjdk-8Not affected
vulnerable_code_not_present
Ubuntu 26.04openjdk-ltsNot affected
vulnerable_code_not_present
Ubuntu 25.10icedtea-webWill not fix
Windows-specific issue
UBUNTU-CVE-2021-2161
Ubuntu 25.10openjdk-8Not affected
vulnerable_code_not_present
Ubuntu 25.10openjdk-ltsNot affected
vulnerable_code_not_present
Ubuntu 24.04icedtea-webUnder investigationUBUNTU-CVE-2021-2161
Ubuntu 24.04openjdk-8Not affected
vulnerable_code_not_present
Ubuntu 22.04icedtea-webUnder investigationUBUNTU-CVE-2021-2161
Ubuntu 22.04openjdk-8Not affected
vulnerable_code_not_present
Ubuntu 22.04openjdk-ltsNot affected
vulnerable_code_not_present
Ubuntu 20.04icedtea-webWill not fix
Windows-specific issue
UBUNTU-CVE-2021-2161
Ubuntu 20.04openjdk-13Not affected
vulnerable_code_not_present
Ubuntu 18.04icedtea-webWill not fix
Windows-specific issue
UBUNTU-CVE-2021-2161
Ubuntu 16.04icedtea-webWill not fix
Windows-specific issue
UBUNTU-CVE-2021-2161
Ubuntu 16.04openjdk-8Not affected
vulnerable_code_not_present
Ubuntu 16.04openjdk-9Not affected
vulnerable_code_not_present
Ubuntu 14.04icedtea-webWill not fix
Windows-specific issue
Red Hat Enterprise Linux 8java-1.8.0-ibmNot affected
Red Hat Enterprise Linux 8java-1.8.0-ibm-demoNot affected
Red Hat Enterprise Linux 8java-1.8.0-ibm-develNot affected
Red Hat Enterprise Linux 8java-1.8.0-ibm-headlessNot affected
Red Hat Enterprise Linux 8java-1.8.0-ibm-jdbcNot affected
Red Hat Enterprise Linux 8java-1.8.0-ibm-pluginNot affected
Red Hat Enterprise Linux 8java-1.8.0-ibm-srcNot affected
Red Hat Enterprise Linux 8java-1.8.0-ibm-webstartNot affected
Red Hat Enterprise Linux 8java-1.8.0-openjdkNot affected
Red Hat Enterprise Linux 8java-1.8.0-openjdk-accessibilityNot affected
Red Hat Enterprise Linux 8java-1.8.0-openjdk-accessibility-fastdebugNot affected
Red Hat Enterprise Linux 8java-1.8.0-openjdk-accessibility-slowdebugNot affected
Red Hat Enterprise Linux 8java-1.8.0-openjdk-demoNot affected
Red Hat Enterprise Linux 8java-1.8.0-openjdk-demo-fastdebugNot affected
Red Hat Enterprise Linux 8java-1.8.0-openjdk-demo-slowdebugNot affected
Red Hat Enterprise Linux 8java-1.8.0-openjdk-develNot affected
Red Hat Enterprise Linux 8java-1.8.0-openjdk-devel-fastdebugNot affected
Red Hat Enterprise Linux 8java-1.8.0-openjdk-devel-slowdebugNot affected
Red Hat Enterprise Linux 8java-1.8.0-openjdk-fastdebugNot affected
Red Hat Enterprise Linux 8java-1.8.0-openjdk-headlessNot affected
Red Hat Enterprise Linux 8java-1.8.0-openjdk-headless-fastdebugNot affected
Red Hat Enterprise Linux 8java-1.8.0-openjdk-headless-slowdebugNot affected
Red Hat Enterprise Linux 8java-1.8.0-openjdk-javadocNot affected
Red Hat Enterprise Linux 8java-1.8.0-openjdk-javadoc-zipNot affected
Red Hat Enterprise Linux 8java-1.8.0-openjdk-slowdebugNot affected
Red Hat Enterprise Linux 8java-1.8.0-openjdk-srcNot affected
Red Hat Enterprise Linux 8java-1.8.0-openjdk-src-fastdebugNot affected
Red Hat Enterprise Linux 8java-1.8.0-openjdk-src-slowdebugNot affected
Red Hat Enterprise Linux 8java-11-openjdkNot affected
Red Hat Enterprise Linux 8java-11-openjdk-demoNot affected
Red Hat Enterprise Linux 8java-11-openjdk-demo-fastdebugNot affected
Red Hat Enterprise Linux 8java-11-openjdk-demo-slowdebugNot affected
Red Hat Enterprise Linux 8java-11-openjdk-develNot affected
Red Hat Enterprise Linux 8java-11-openjdk-devel-fastdebugNot affected
Red Hat Enterprise Linux 8java-11-openjdk-devel-slowdebugNot affected
Red Hat Enterprise Linux 8java-11-openjdk-fastdebugNot affected
Red Hat Enterprise Linux 8java-11-openjdk-headlessNot affected
Red Hat Enterprise Linux 8java-11-openjdk-headless-fastdebugNot affected
Red Hat Enterprise Linux 8java-11-openjdk-headless-slowdebugNot affected
Red Hat Enterprise Linux 8java-11-openjdk-javadocNot affected
Red Hat Enterprise Linux 8java-11-openjdk-javadoc-zipNot affected
Red Hat Enterprise Linux 8java-11-openjdk-jmodsNot affected
Red Hat Enterprise Linux 8java-11-openjdk-jmods-fastdebugNot affected
Red Hat Enterprise Linux 8java-11-openjdk-jmods-slowdebugNot affected
Red Hat Enterprise Linux 8java-11-openjdk-slowdebugNot affected
Red Hat Enterprise Linux 8java-11-openjdk-srcNot affected
Red Hat Enterprise Linux 8java-11-openjdk-src-fastdebugNot affected
Red Hat Enterprise Linux 8java-11-openjdk-src-slowdebugNot affected
Red Hat Enterprise Linux 8java-11-openjdk-static-libsNot affected
Red Hat Enterprise Linux 8java-11-openjdk-static-libs-fastdebugNot affected
Red Hat Enterprise Linux 8java-11-openjdk-static-libs-slowdebugNot affected
Red Hat Enterprise Linux 7java-1.7.1-ibmNot affected
Red Hat Enterprise Linux 7java-1.7.1-ibm-demoNot affected
Red Hat Enterprise Linux 7java-1.7.1-ibm-develNot affected
Red Hat Enterprise Linux 7java-1.7.1-ibm-jdbcNot affected
Red Hat Enterprise Linux 7java-1.7.1-ibm-pluginNot affected
Red Hat Enterprise Linux 7java-1.7.1-ibm-srcNot affected
Red Hat Enterprise Linux 7java-1.8.0-ibmNot affected
Red Hat Enterprise Linux 7java-1.8.0-ibm-demoNot affected
Red Hat Enterprise Linux 7java-1.8.0-ibm-develNot affected
Red Hat Enterprise Linux 7java-1.8.0-ibm-jdbcNot affected
Red Hat Enterprise Linux 7java-1.8.0-ibm-pluginNot affected
Red Hat Enterprise Linux 7java-1.8.0-ibm-srcNot affected
Red Hat Enterprise Linux 7java-1.8.0-openjdkNot affected
Red Hat Enterprise Linux 7java-1.8.0-openjdk-accessibilityNot affected
Red Hat Enterprise Linux 7java-1.8.0-openjdk-accessibility-debugNot affected
Red Hat Enterprise Linux 7java-1.8.0-openjdk-debugNot affected
Red Hat Enterprise Linux 7java-1.8.0-openjdk-demoNot affected
Red Hat Enterprise Linux 7java-1.8.0-openjdk-demo-debugNot affected
Red Hat Enterprise Linux 7java-1.8.0-openjdk-develNot affected
Red Hat Enterprise Linux 7java-1.8.0-openjdk-devel-debugNot affected
Red Hat Enterprise Linux 7java-1.8.0-openjdk-headlessNot affected
Red Hat Enterprise Linux 7java-1.8.0-openjdk-headless-debugNot affected
Red Hat Enterprise Linux 7java-1.8.0-openjdk-javadocNot affected
Red Hat Enterprise Linux 7java-1.8.0-openjdk-javadoc-debugNot affected
Red Hat Enterprise Linux 7java-1.8.0-openjdk-javadoc-zipNot affected
Red Hat Enterprise Linux 7java-1.8.0-openjdk-javadoc-zip-debugNot affected
Red Hat Enterprise Linux 7java-1.8.0-openjdk-srcNot affected
Red Hat Enterprise Linux 7java-1.8.0-openjdk-src-debugNot affected
Red Hat Enterprise Linux 7java-11-openjdkNot affected
Red Hat Enterprise Linux 7java-11-openjdk-debugNot affected
Red Hat Enterprise Linux 7java-11-openjdk-demoNot affected
Red Hat Enterprise Linux 7java-11-openjdk-demo-debugNot affected
Red Hat Enterprise Linux 7java-11-openjdk-develNot affected
Red Hat Enterprise Linux 7java-11-openjdk-devel-debugNot affected
Red Hat Enterprise Linux 7java-11-openjdk-headlessNot affected
Red Hat Enterprise Linux 7java-11-openjdk-headless-debugNot affected
Red Hat Enterprise Linux 7java-11-openjdk-javadocNot affected
Red Hat Enterprise Linux 7java-11-openjdk-javadoc-debugNot affected
Red Hat Enterprise Linux 7java-11-openjdk-javadoc-zipNot affected
Red Hat Enterprise Linux 7java-11-openjdk-javadoc-zip-debugNot affected
Red Hat Enterprise Linux 7java-11-openjdk-jmodsNot affected
Red Hat Enterprise Linux 7java-11-openjdk-jmods-debugNot affected
Red Hat Enterprise Linux 7java-11-openjdk-srcNot affected
Red Hat Enterprise Linux 7java-11-openjdk-src-debugNot affected
Red Hat Enterprise Linux 7java-11-openjdk-static-libsNot affected
Alpine Linux 3.18openjdk7Fixed7.301.2.6.26-r0ALPINE-CVE-2021-2161
Alpine Linux 3.17openjdk7Fixed7.301.2.6.26-r0ALPINE-CVE-2021-2161
Alpine Linux 3.16openjdk7Fixed7.301.2.6.26-r0ALPINE-CVE-2021-2161
Alpine Linux 3.15openjdk7Fixed7.301.2.6.26-r0ALPINE-CVE-2021-2161
Alpine Linux 3.14openjdk7Fixed7.301.2.6.26-r0ALPINE-CVE-2021-2161

What the vendor says

As published in the CVE record by oracle, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.