CVE-2016-6814Apache Groovy
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Apache · Apache Groovy We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.0
- 9.8
- EPSS
- 14.6% probability of exploitation in 30 days · percentile 97
- Auth required
- No
- Published
- Jan 18, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-502
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Groovy.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.codehaus.groovy:groovy |
≥ 1.7.0 < 2.4.8 |
2.4.8 |
— |
| Maven | org.codehaus.groovy:groovy-all |
≥ 1.7.0 < 2.4.8 |
2.4.8 |
— |
Per OSV / GitHub Advisories (GHSA-xphj-m9cc-8fmq). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | groovy | ≥ 1.7.0 ≤ 2.4.3 |
| apache | groovy | ≥ 2.4.4 ≤ 2.4.7 |
| redhat | enterprise_linux_server | 7.0 |
Official sources
References
Links published by the sources. Open them with care.
- mail-archives.apache.org Patch Vendor Advisory
- rhn.redhat.com Broken Link
- www.oracle.com
- www.oracle.com
- www.oracle.com
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securitytracker.com Third Party Advisory VDB Entry
- access.redhat.com Broken Link
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- security.gentoo.org
- www.oracle.com
- www.oracle.com
- www.oracle.com
- www.oracle.com
- www.oracle.com