CVE-2016-6814
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
Likely to be exploited: EPSS gives a 17% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Debian, Maven, Red Hat: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | groovy | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | groovy | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | groovy | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | groovy | Not affected vulnerable_code_not_present | ||
| Ubuntu 20.04 | groovy | Not affected vulnerable_code_not_present | ||
| Ubuntu 18.04 | groovy | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | groovy | Fix pending | 2.0.0~beta2+isreally1.8.6-4ubuntu1+esm1 (Ubuntu Pro) | UBUNTU-CVE-2016-6814 |
| Ubuntu 16.04 | groovy2 | Fix pending | 2.4.5-1ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2016-6814 |
| Ubuntu 14.04 | groovy | Fix pending | ||
| Debian 14 | groovy | Fixed | 2.4.8-1 | DEBIAN-CVE-2016-6814 |
| Debian 13 | groovy | Fixed | 2.4.8-1 | DEBIAN-CVE-2016-6814 |
| Debian 12 | groovy | Fixed | 2.4.8-1 | DEBIAN-CVE-2016-6814 |
| Red Hat Enterprise Linux 7 | groovy | Fixed | 0:1.8.9-8.el7_4 | RHSA-2017:2486 |
| Red Hat Enterprise Linux 7 | groovy-javadoc | Fixed | 0:1.8.9-8.el7_4 | RHSA-2017:2486 |
| Maven library | org.codehaus.groovy:groovy | Fixed | 2.4.8 | GHSA-xphj-m9cc-8fmq |
| Maven library | org.codehaus.groovy:groovy-all | Fixed | 2.4.8 | GHSA-xphj-m9cc-8fmq |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2017:2596 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:0868 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:2486 (vendor-advisory)
- http://rhn.redhat.com/errata/RHSA-2017-0272.html (vendor-advisory)
- https://security.gentoo.org/glsa/202003-01 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2017:2596
- https://access.redhat.com/errata/RHSA-2017:0868
- https://access.redhat.com/errata/RHSA-2017:2486
- http://rhn.redhat.com/errata/RHSA-2017-0272.html
- http://www.securityfocus.com/bid/95429
- http://www.securitytracker.com/id/1039600
- https://security.gentoo.org/glsa/202003-01
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.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
- https://www.oracle.com/security-alerts/cpujan2020.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.