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…
Noroxi assessment
Priority: Plan (action score 44/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 17.2% (FIRST EPSS); higher than 97.1% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: groovy (Debian:12) 2.4.8-1; groovy (Debian:7) 1.8.6-1+deb7u2; org.codehaus.groovy:groovy (Maven) 2.4.8.
Add it to your regular patch cycle. Upgrade to groovy (Debian:12) 2.4.8-1; groovy (Debian:7) 1.8.6-1+deb7u2; org.codehaus.groovy:groovy (Maven) 2.4.8 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jan 18, 2018
- Updated
- Jun 16, 2026
- EPSS
- 17.2% · 97th percentile
- CWE
- CWE-502
Report tools
Action score
44
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 5 / 30 · 17.2%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| apache | groovy | cpe:2.3:a:apache:groovy |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apache groovy1.7.0 and later · up to 2.4.3 inclusive
- apache groovy2.4.4 and later · up to 2.4.7 inclusive
- redhat enterprise linux server7.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | groovy | before 2.4.8-1 | 2.4.8-1 |
| Debian:7 | groovy | before 1.8.6-1+deb7u2 | 1.8.6-1+deb7u2 |
| Maven | org.codehaus.groovy:groovy | from 1.7.0 · before 2.4.8 | 2.4.8 |
| Maven | org.codehaus.groovy:groovy-all | from 1.7.0 · before 2.4.8 | 2.4.8 |
| Red Hat:enterprise_linux:7::client | groovy | before 0:1.8.9-8.el7_4 | 0:1.8.9-8.el7_4 |
| Red Hat:enterprise_linux:7::client | groovy-javadoc | before 0:1.8.9-8.el7_4 | 0:1.8.9-8.el7_4 |
| Red Hat:rhel_software_collections:2::el6 | rh-maven33-groovy | before 0:1.8.9-7.19.el6 | 0:1.8.9-7.19.el6 |
| Red Hat:rhel_software_collections:2::el6 | rh-maven33-groovy-javadoc | before 0:1.8.9-7.19.el6 | 0:1.8.9-7.19.el6 |
| Red Hat:rhel_software_collections:2::el7 | rh-maven33-groovy | before 0:1.8.9-7.19.el7 | 0:1.8.9-7.19.el7 |
| Red Hat:rhel_software_collections:2::el7 | rh-maven33-groovy-javadoc | before 0:1.8.9-7.19.el7 | 0:1.8.9-7.19.el7 |
Same product
apache: all recordsOther highest-scoring records for the same primary product.
- CVE-2015-3253The MethodClosure class in runtime/MethodClosure.java in Apache Groovy 1.7.0 through 2.4.3 allows remote attackers to execute arbitrary…51Plan
- CVE-2020-17521Apache Groovy provides extension methods to aid with creating temporary directories.22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:groovy | 2.4.8-1 · Debian:12 | Package registry (OSV) |
| Maven:org.codehaus.groovy:groovy | 2.4.8 | Package registry (OSV) |
| Maven:org.codehaus.groovy:groovy-all | 2.4.8 | Package registry (OSV) |
| red hat:groovy | 0:1.8.9-8.el7_4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:groovy-javadoc | 0:1.8.9-8.el7_4 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:rh-maven33-groovy | 0:1.8.9-7.19.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
| red hat:rh-maven33-groovy-javadoc | 0:1.8.9-7.19.el6 · Red Hat:rhel_software_collections:2::el6 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Not on record for this CVE: patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-502 · Deserialization of Untrusted DataCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
Data received over the network is deserialized into the language’s native object format without verifying its source. Code paths inside the object can be triggered during deserialization.
The bug in code
The whole CWE-502 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
payload = sock.recv(65536)
job = pickle.loads(payload)Fixed
payload = sock.recv(65536)
if not hmac.compare_digest(sign(payload), header_sig):
raise PermissionError("invalid signature")
job = JobSchema.validate(json.loads(payload))Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (15 more)Show less
- rhn.redhat.com/errata/RHSA-2017-0272.html
- www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
- www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
- www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- www.securityfocus.com/bid/95429
- www.securitytracker.com/id/1039600
- access.redhat.com/errata/RHSA-2017:0868
- access.redhat.com/errata/RHSA-2017:2486
- access.redhat.com/errata/RHSA-2017:2596
- security.gentoo.org/glsa/202003-01
- www.oracle.com/security-alerts/cpujan2020.html
- www.oracle.com/security-alerts/cpujul2020.html
- www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html
- www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.