CVE-2021-2161
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-2161 is a vulnerability in Java SE, Java SE Embedded, and Oracle GraalVM Enterprise Edition's Libraries component. The affected versions include 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. The vulnerability was disclosed in April 2021 and is described as difficult to exploit but allows unauthenticated attackers with network access via multiple protocols to compromise the affected systems (Oracle CPU).

Technical details

The vulnerability has been assigned a CVSS 3.1 Base Score of 5.9 (Medium) with a vector of CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N. This indicates that while the vulnerability is network-accessible, it is difficult to exploit and requires no privileges or user interaction. The vulnerability specifically 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 (NVD).

Impact

Successful exploitation 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. The vulnerability primarily affects the integrity of the system, with no direct impact on confidentiality or availability (NetApp Advisory).

Mitigation and workarounds

Oracle has released patches for all affected versions. Users should upgrade to the latest versions of Java SE, Java SE Embedded, and Oracle GraalVM Enterprise Edition. For Java SE, this means updating to versions newer than 7u291, 8u281, 11.0.10, and 16. For Java SE Embedded, versions after 8u281 should be used, and for Oracle GraalVM Enterprise Edition, versions after 19.3.5, 20.3.1.2, and 21.0.0.2 (Debian Security Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • firefox-x11
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox-x11
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management