WaratekVRT Sign in

CVE-2021-2161 Oracle Java SE

Affected softwareOracle Java SE
Affected versionsJava SE: 7u291, 8u281, 11.0.10, 16; Java SE Embedded: 8u281; Oracle GraalVM Enterprise Edition: 19.3.5, 20.3.1.2, 21.0.0.2
Severity5.9 Medium CVSS 3.1 2 scores
Fixed inOracle Critical Patch Update April 2021
Published22 Apr 2021
Updated17 Jun 2026

Description

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

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 5 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 3.5% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full
  • Action available patch rule
  • Review human ARMR file
  • Record active
Decided by An ARMR patch file on disk for this CVE
Finding CVE has an ARMR patch rule that provides mitigation

ARMR rule files

1 file

The rule files Waratek ships for this CVE. Some CVEs need more than one, for example one per affected library or one per ARMR version.

CVE-2021-2161.armr patch rule, ARMR 2.6 added 2021-04-27 updated 2026-03-04

How to mitigate CVE-2021-2161

Apply the fix in Oracle Critical Patch Update April 2021. Until you can, Waratek RASP blocks exploitation with a rule written for this CVE. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

5.9 MEDIUM v3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 5.9 MEDIUM CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N secalert_us@oracle.com Secondary published
CVSS 2.0 4.3 none AV:N/AC:M/Au:N/C:N/I:P/A:N NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update April 2021 ↗ CPU 2021-Q2 Oracle Java SE / Libraries (Java SE: 7u291, 8u281, 11.0.10, 16; Java SE Embedded: 8u281; Oracle GraalVM Enterprise Edition: 19.3.5, 20.3.1.2, 21.0.0.2)
Oracle's 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.

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Java SE Libraries Java SE: 7u291, 8u281, 11.0.10, 16; Java SE Embedded: 8u281; Oracle GraalVM Enterprise Edition: 19.3.5, 20.3.1.2, 21.0.0.2 7.0.291.0 · 8.0.281.0 · 11.0.10.0 · 16.0.0.0 · 19.3.5.0 · 20.3.1.0 · 21.0.0.0

Products and versions

12 products, 144 version entries
SourceVendorProductSchemeAffected versions
nvd debian debian linux generic 9.0 · 10.0
nvd fedoraproject fedora generic 32 · 33 · 34
nvd mcafee epolicy orchestrator generic 5.10.0 · < 5.10.0 · 5.10.0:update_1 · 5.10.0:update_2 · 5.10.0:update_3 · 5.10.0:update_4 · 5.10.0:update_5 · 5.10.0:update_6 · 5.10.0:update_7 · 5.10.0:update_8 · 5.10.0:update_9 · 5.10.0:update_10
nvd netapp active iq unified manager generic any version
nvd netapp hci compute node generic any version
nvd netapp hci management node generic any version
nvd netapp hci storage node generic any version
nvd netapp solidfire generic any version
nvd oracle graalvm javase 19.3.5 · 20.3.1.2 · 21.0.0.2
nvd oracle jdk javase 1.7.0:update291 · 1.8.0:update281 · 11.0.10 · 16.0.0
nvd oracle jre javase 1.8.0:update281
nvd oracle openjdk javase 7 · 7:update1 · 7:update2 · 7:update3 · 7:update4 · 7:update5 · 7:update6 · 7:update7 · 7:update9 · 7:update10 · 7:update11 · 7:update13 · 7:update15 · 7:update17 · 7:update21 · 7:update25 · 7:update40 · 7:update45 · 7:update51 · 7:update55 · 7:update60 · 7:update65 · 7:update67 · 7:update72 · 7:update76 · 7:update80 · 7:update85 · 7:update91 · 7:update95 · 7:update97 · 7:update99 · 7:update101 · 7:update111 · 7:update121 · 7:update131 · 7:update141 · 7:update151 · 7:update161 · 7:update171 · 7:update181 · 7:update191 · 7:update201 · 7:update211 · 7:update221 · 7:update231 · 7:update241 · 7:update251 · 7:update261 · 7:update271 · 7:update281 · 7:update291 · 8 · 8:milestone1 · 8:milestone2 · 8:milestone3 · 8:milestone4 · 8:milestone5 · 8:update5 · 8:milestone6 · 8:milestone7 · 8:milestone8 · 8:milestone9 · 8:update11 · 8:update20 · 8:update25 · 8:update31 · 8:update40 · 8:update45 · 8:update51 · 8:update60 · 8:update65 · 8:update66 · 8:update71 · 8:update72 · 8:update73 · 8:update74 · 8:update77 · 8:update91 · 8:update92 · 8:update101 · 8:update102 · 8:update111 · 8:update112 · 8:update121 · 8:update131 · 8:update141 · 8:update151 · 8:update152 · 8:update161 · 8:update162 · 8:update171 · 8:update172 · 8:update181 · 8:update191 · 8:update192 · 8:update201 · 8:update202 · 8:update211 · 8:update212 · 8:update221 · 8:update222 · 8:update231 · 8:update232 · 8:update241 · 8:update242 · 8:update252 · 8:update262 · 8:update271 · 8:update281 · 8:update282 · ≥ 11.0.0.0 and ≤ 11.0.10.0 · ≥ 13.0.0.0 and ≤ 13.0.6.0 · ≥ 15.0.0.0 and ≤ 15.0.2.0 · 16

References

URLTags
https://docs.azul.com/core/zulu-openjdk/release-notes/april-2021.html#fixed-common-vulnerabilities-and-exposures Third Party Advisory
https://kc.mcafee.com/corporate/index?page=content&id=SB10366 Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/04/msg00021.html Mailing List, Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5ACX4JEVYH6H4PSMGMYWTGABPOFPH3TS/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CFXOKM2233JVGYDOWW77BN54X3GZTIBK/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CG7EWXSO6JUCVHP7R3SOZQ7WPNBOISJH/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MAULPCQFLAMBJIS27YLNNX6IHRFJMVP4/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MVDY4T5XMSYDQT6RRKPMRCV4MVGS7KXF/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UD3JEP4HPLK7MNZHVUMKIJPBP74M3A2V/
https://security.gentoo.org/glsa/202209-05 Third Party Advisory

Timeline

Published2021-04-22By the CVE Program.
ARMR remediation created2021-04-27Earliest commit adding this CVE's ARMR patch or security rule.
ARMR remediation last updated2026-03-04Most recent commit touching this CVE's ARMR patch or security rule.
Last VRT activity2026-03-04Most recent commit touching this CVE's classification, patch or rule file.
NVD record modified2026-06-17NVD's own last-modified date for this record.