CVE-2016-6199 Deserialization in n/a
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.
Other vulnerabilities in n/a
- CVE-2019-15052 Information disclosure in n/a
- CVE-2021-29428 Local privilege escalation through system temporary directory
- CVE-2026-22816 Gradle fails to disable repositories which can expose builds to malicious artifacts
- CVE-2026-22865 Gradle's failure to disable repositories failing to answer can expose builds to malicious artifacts
- CVE-2021-41588 Deserialization in n/a
Sources
Also known as DEBIAN-CVE-2016-6199, GHSA-f65r-2xfr-g5gx, UBUNTU-CVE-2016-6199.