CVE-2022-21341 Deserialization in Java SE JDK and JRE

Medium 5.3 Published Updated

Unauthenticated attackers can cause partial denial of service in Oracle Java SE and GraalVM via deserialization flaws 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-21341?

CVE-2022-21341 is a medium-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. Easily exploitable 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 ability to cause a partial denial of service (partial DOS) of Oracle Java SE, Oracle GraalVM Enterprise Edition. 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 5.3 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L).

Weakness: CWE-502

Which versions are affected by CVE-2022-21341?

3 open source packages ship an affected version, including java, java-min and jre. It affects 19 products.

PackageAffectedFixed in
java BitnamiAll versions1.7.0, 1.8.0, 7.0.331, 8.0.321, 11.0.14, 17.0.2
java-min BitnamiAll versions1.7.0, 1.8.0, 7.0.331, 8.0.321, 11.0.14, 17.0.2
jre BitnamiAll versions1.7.0, 1.8.0, 7.0.331, 8.0.321, 11.0.14, 17.0.2

Products include Debian Debian Linux, Netapp 7-Mode Transition Tool, Netapp Active Iq Unified Manager, Netapp Cloud Insights Acquisition Unit, Netapp Cloud Secure Agent, Netapp E-Series Santricity Os Controller and 13 more.

How do I fix CVE-2022-21341?

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-21341 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-21341 exists.

All Debian Debian Linux vulnerabilities

Sources

Also known as BIT-java-2022-21341, BIT-java-min-2022-21341, BIT-jre-2022-21341, CLEANSTART-2026-FM59801, CLEANSTART-2026-YN80001, DEBIAN-CVE-2022-21341 and 10 more.

Is CVE-2022-21341 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free