CVE-2016-6199 Deserialization in n/a

Critical 9.8 Published Updated

Remote attackers can execute arbitrary code in Gradle by sending a crafted serialized object to the ObjectSocketWrapper.

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

What is CVE-2016-6199?

CVE-2016-6199 is a critical unsafe deserialization vulnerability in n/a, published on 7 Feb 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

ObjectSocketWrapper.java in Gradle 2.12 allows remote attackers to execute arbitrary code via a crafted serialized object.

Weakness: CWE-502

Which versions are affected by CVE-2016-6199?

It affects 1 product.

Products include Gradle Gradle.

How do I fix CVE-2016-6199?

Upgrade to a fixed version.

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

Is CVE-2016-6199 being exploited?

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

Sources

Also known as DEBIAN-CVE-2016-6199, GHSA-f65r-2xfr-g5gx, UBUNTU-CVE-2016-6199.

Is CVE-2016-6199 in your software?

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

Check your SBOMs for free