Live threats

All CVEs / Apache

CVE-2016-6814Apache Groovy

Critical 9.8 No auth neededHigh EPSS

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Groovy.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
apachegroovy≥ 1.7.0 ≤ 2.4.3
apachegroovy≥ 2.4.4 ≤ 2.4.7
redhatenterprise_linux_server7.0

Official sources

References

Links published by the sources. Open them with care.