CVE-2022-21248 Deserialization in Java SE JDK and JRE
An unauthenticated attacker can modify data in Oracle Java SE and GraalVM via a difficult-to-exploit deserialization vulnerability in the Serialization component.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-21248?
CVE-2022-21248 is a low-severity unsafe deserialization vulnerability in Debian Debian Linux, published on 19 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Vulnerability in the Oracle Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Serialization). Supported versions that are affected are Oracle Java SE: 7u321, 8u311, 11.0.13, 17.0.1; Oracle GraalVM Enterprise Edition: 20.3.4 and 21.3.0. Difficult to exploit vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise Oracle Java SE, Oracle GraalVM Enterprise Edition. Successful attacks of this vulnerability can result in unauthorized update, insert or delete access to some of Oracle Java SE, Oracle GraalVM Enterprise Edition accessible data. Note: This vulnerability applies to Java deployments, typically in clients running sandboxed Java Web Start applications or sandboxed Java applets, that load and run untrusted code (e.g., code that comes from the internet) and rely on the Java sandbox for security. This vulnerability can also be exploited by using APIs in the specified Component, e.g., through a web service which supplies data to the APIs. CVSS 3.1 Base Score 3.7 (Integrity impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N).
Which versions are affected by CVE-2022-21248?
3 open source packages ship an affected version, including java, java-min and jre. It affects 20 products.
| Package | Affected | Fixed in |
|---|---|---|
java Bitnami | All versions | 1.7.0, 1.8.0, 7.0.331, 8.0.321, 11.0.14, 17.0.2 |
java-min Bitnami | All versions | 1.7.0, 1.8.0, 7.0.331, 8.0.321, 11.0.14, 17.0.2 |
jre Bitnami | All versions | 1.7.0, 1.8.0, 7.0.331, 8.0.321, 11.0.14, 17.0.2 |
Products include Debian Debian Linux, Fedoraproject Fedora, Netapp 7-Mode Transition Tool, Netapp Active Iq Unified Manager, Netapp Cloud Insights Acquisition Unit, Netapp Cloud Secure Agent and 14 more.
How do I fix CVE-2022-21248?
Upgrade java to a fixed version for your release line: 1.7.0, 1.8.0, 7.0.331 or 8.0.321.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2022-21248 being exploited?
There is no known exploitation of CVE-2022-21248 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as BIT-java-2022-21248, BIT-java-min-2022-21248, BIT-jre-2022-21248, CLEANSTART-2026-LO11259, CLEANSTART-2026-MZ81816, DEBIAN-CVE-2022-21248 and 10 more.