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

Medium 5.3 Published Updated

Unauthenticated attackers can modify data in Oracle Java SE and GraalVM via deserialization flaws in the Libraries 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-21549?

CVE-2022-21549 is a medium-severity unsafe deserialization vulnerability in Debian Debian Linux, published on 19 Jul 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: Libraries). Supported versions that are affected are Oracle Java SE: 17.0.3.1; Oracle GraalVM Enterprise Edition: 21.3.2 and 22.1.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 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 5.3 (Integrity impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N).

Weakness: CWE-502

Which versions are affected by CVE-2022-21549?

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

PackageAffectedFixed in
java BitnamiFrom 12.0.017.0.4
java-min BitnamiFrom 12.0.017.0.4
jre BitnamiFrom 12.0.017.0.4

Products include Azul Zulu, Debian Debian Linux, Fedoraproject Fedora, Netapp 7-Mode Transition Tool, Netapp Active Iq Unified Manager, Netapp Cloud Insights Acquisition Unit and 8 more.

How do I fix CVE-2022-21549?

Upgrade java to 17.0.4 or later.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2022-21549 being exploited?

There is no known exploitation of CVE-2022-21549 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as BIT-java-2022-21549, BIT-java-min-2022-21549, BIT-jre-2022-21549, CLEANSTART-2026-JX14846, DEBIAN-CVE-2022-21549, GHSA-c786-7jf2-46w9 and 6 more.

Is CVE-2022-21549 in your software?

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

Check your SBOMs for free