CVE-2021-2161
Reported by oracle · Published April 22, 2021
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).
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| openjdk-26-openj9 | Chainguard | 0.59.0-r1 |
| openjdk-8-openj9 | Chainguard | 0.53.0-r1 |
| openjdk-12 | Wolfi | 12.0.2.10-r10 |
| epolicy_orchestrator | mcafee | 5.10.0 |
| openjdk | oracle | 15.0.2, 13.0.6, 11.0.10 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Oracle Corporation | Java SE JDK and JRE | Java SE:7u291, Java SE:8u281, Java SE:11.0.10 |
| Oracle Corporation | Java SE JDK and JRE | *, 11.0.10, 19.3.5 |
Timeline
- Apr 20, 2021 CVE Published
- Apr 24, 2021 PoC Published (2 in total, the first dated here)
- Apr 27, 2021 EPSS Score (30 in total, the first dated here)
- Mar 10, 2026 Distribution Patch (17 in total, the first dated here)
- Mar 10, 2026 Security Advisory (25 in total, the first dated here)
- Aug 26, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-2161
vulnetix vdb fixes CVE-2021-2161
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-2161/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- [debian-lts-announce] 20210423 [SECURITY] [DLA 2634-1] openjdk-8 security update mailing-listx_refsource_MLIST
- DSA-4899 vendor-advisoryx_refsource_DEBIAN
- FEDORA-2021-6eb9bbbf0c vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-65aa196c14 vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-25b47f16af vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-8b80ef64f1 vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-f71b592e07 vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-b88e86b753 vendor-advisoryx_refsource_FEDORA
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_CONFIRM
- GLSA-202209-05 vendor-advisoryx_refsource_GENTOO