CVE-2021-41588 Deserialization in n/a

High 8.1 Published Updated

An attacker with encryption and signing keys can trigger unsafe Java object deserialization in Gradle Enterprise, potentially leading to code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-41588?

CVE-2021-41588 is a high-severity unsafe deserialization vulnerability in n/a, published on 24 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Gradle Enterprise before 2021.1.3, a crafted request can trigger deserialization of arbitrary unsafe Java objects. The attacker must have the encryption and signing keys.

Weakness: CWE-502

Which versions are affected by CVE-2021-41588?

1 open source package ship an affected version, including gradle. It affects 1 product.

PackageAffectedFixed in
gradle BitnamiFrom 2017.2.02021.1.3

Products include Gradle Gradle.

How do I fix CVE-2021-41588?

Upgrade gradle to 2021.1.3 or later.

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

Is CVE-2021-41588 being exploited?

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

Sources

Also known as BIT-gradle-2021-41588, GHSA-2j29-824j-4f3v.

Is CVE-2021-41588 in your software?

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

Check your SBOMs for free