CVE-2020-24164 Gadget chain attack in Nippy

High 7.8 Published Updated

Attackers can execute arbitrary code via malicious payloads due to unsafe Java deserialization in the Nippy library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-24164?

CVE-2020-24164 is a high-severity unsafe deserialization vulnerability in n/a, published on 11 Sep 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A deserialization flaw is present in Taoensso Nippy before 2.14.2. In some circumstances, it is possible for an attacker to create a malicious payload that, when deserialized, will allow arbitrary code to be executed. This occurs because there is automatic use of the Java Serializable interface.

Weakness: CWE-502

Which versions are affected by CVE-2020-24164?

2 open source packages ship an affected version, including com.taoensso:nippy. It affects 1 product.

PackageAffectedFixed in
com.taoensso:nippy MavenAll versions2.14.2
com.taoensso:nippy MavenAll versions2.14.2

Products include Taoensso Nippy.

How do I fix CVE-2020-24164?

Upgrade com.taoensso:nippy to 2.14.2 or later.

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

Is CVE-2020-24164 being exploited?

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

Sources

Also known as GHSA-p5gm-fgfx-hr7h.

Is CVE-2020-24164 in your software?

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

Check your SBOMs for free