Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.8
CVE-2016-6814: Groovy libraries can run code from crafted data
CVE-2016-6814 · published 8 years ago
Summary
Versions of Groovy from 1.7.0 through 2.4.7 that are loaded in a Java application can execute arbitrary code when they read specially crafted serialized objects. This affects any system that uses Groovy’s serialization features without separating that code, such as communication between servers or local data storage. Update to the latest Groovy release or avoid using Java serialization with these versions.
What to do
- Update codehaus org.codehaus.groovy:groovy to version 2.4.8.
- Update codehaus org.codehaus.groovy:groovy-all to version 2.4.8.
- Update org.codehaus.groovy:groovy-all to version 1.7.2-aikido.1.
- Update io.root.org.codehaus.groovy:groovy-all to version 1.7.2-root.io.1.
- Update canonical groovy2 to version 2.4.5-1ubuntu0.1~esm1.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| maven | codehaus | org.codehaus.groovy:groovy |
>= 1.7.0, <= 2.4.7 Fix: upgrade to 2.4.8
|
| maven | codehaus | org.codehaus.groovy:groovy-all |
>= 1.7.0, <= 2.4.7 Fix: upgrade to 2.4.8
|
| – | apache | groovy |
>= 1.7.0, <= 2.4.3 >= 2.4.4, <= 2.4.7 cpe:2.3:a:apache:groovy:*:*:*:*:*:*:*:* |
| – | redhat | enterprise_linux_server |
7.0 cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* |
| Root:Maven | – | org.codehaus.groovy:groovy-all |
< 1.7.2-aikido.1 Fix: upgrade to 1.7.2-aikido.1
|
| Root:Maven | – | io.root.org.codehaus.groovy:groovy-all |
< 1.7.2-root.io.1 Fix: upgrade to 1.7.2-root.io.1
|
| Ubuntu:Pro:16.04:LTS | canonical | groovy2 |
< 2.4.5-1ubuntu0.1~esm1 Fix: upgrade to 2.4.5-1ubuntu0.1~esm1
|
| Ubuntu:Pro:16.04:LTS | canonical | groovy | All versions |
Original advisory text
CVE-2016-6814 in org.codehaus.groovy:groovy-all - Patched by Root
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.
References
- https://security.gentoo.org/glsa/202003-01
- https://nvd.nist.gov/vuln/detail/CVE-2016-6814
- https://access.redhat.com/errata/RHSA-2017:0868
- https://access.redhat.com/errata/RHSA-2017:2486
- https://access.redhat.com/errata/RHSA-2017:2596
- https://www.oracle.com/security-alerts/cpujan2020.html
- https://www.oracle.com/security-alerts/cpujul2020.html
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
- http://mail-archives.apache.org/mod_mbox/www-announce/201701.mbox/%3CCADRx3PMZ2h...
- http://rhn.redhat.com/errata/RHSA-2017-0272.html
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- https://github.com/advisories/GHSA-xphj-m9cc-8fmq
- http://www.securityfocus.com/bid/95429 Third Party Advisory VDB Entry
- http://www.securitytracker.com/id/1039600 Third Party Advisory VDB Entry
- https://ubuntu.com/security/CVE-2016-6814 Third Party Advisory
- http://www.openwall.com/lists/oss-security/2017/01/14/3 Third Party Advisory
- https://ubuntu.com/security/notices/USN-4795-1 Vendor Advisory
- https://www.cve.org/CVERecord?id=CVE-2016-6814 Third Party Advisory
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically (estimated)
- Gives an attacker full control (estimated)
Type
CWE-502Deserialization of Untrusted Data
Timeline
Published18 Jan 2018
Updated2 Dec 2026
First seen6 Mar 2026
Track software like this
Free during beta