CVE-2016-6814
Deserialization of Untrusted Data in Groovy
Reported by mitre · Published January 18, 2018
groovy is fixed in 2.4.8 (Maven Central)
When an application with unsupported Codehaus versions of Groovy from 1.7.0 to 2.4.3, Apache Groovy 2.4.4 to 2.4.7 on classpath uses standard Java serialization mechanisms, e.g. to communicate between servers or to store local data, it was possible for an attacker to bake a special serialized object that will execute code directly when deserialized. All applications which rely on serialization and do not isolate the code which deserializes objects were subject to this vulnerability.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.codehaus.groovy:groovy | Maven Central | 2.4.8 |
| org.codehaus.groovy:groovy-all | Maven Central | 2.4.8 |
| groovy | apache | 2.4.7, 2.4.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| Maven | org.codehaus.groovy:groovy-all | 1.7.0 |
| Maven | org.codehaus.groovy:groovy | 1.7.0 |
Timeline
- Aug 17, 2017 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Mar 5, 2026 Distribution Patch (4 in total, the first dated here)
- Mar 5, 2026 Security Advisory (6 in total, the first dated here)
- Oct 7, 2026 Coalition ESS Score
- Nov 16, 2026 PoC Published
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2016-6814
vulnetix vdb fixes CVE-2016-6814
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2016-6814/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2017:2596 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:0868 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:2486 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:0272 vendor-advisoryx_refsource_REDHAT
- 95429 vdb-entryx_refsource_BID
- 1039600 vdb-entryx_refsource_SECTRACK
- GLSA-202003-01 vendor-advisoryx_refsource_GENTOO
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2016-6814 advisory
- https://github.com/advisories/GHSA-xphj-m9cc-8fmq advisory