Vulnerabilities / CVE-2016-6814

critical

CVE-2016-6814

Groovy: Remote code execution via deserialization

Published Modified CWE 502
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat9.6CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (high), Oracle (high), Ubuntu (medium).

Description

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.

Affected packages and fixed versions

SourcePackageFixed in
maven::GitHub Security Advisory Mavenorg.codehaus.groovy:groovy, org.codehaus.groovy:groovy-all2.4.8
debian 11groovy2.4.8-1
debian 12groovy2.4.8-1
debian 13groovy2.4.8-1
debian 14groovy2.4.8-1
debian 7groovy1.8.6-1+deb7u2
debian 8groovy, groovy21.8.6-4+deb8u2 and 1 more
echogroovy2.4.8-1
Oracle Linux 7groovy, groovy-javadoc1.8.9-8.el7_4
ubuntu 16.04-ESMgroovy22.4.5-1ubuntu0.1~esm1
Show all 13 entries from 10 sources
SourcePackageFixed in
maven::GitHub Security Advisory Mavenorg.codehaus.groovy:groovy2.4.8
maven::GitHub Security Advisory Mavenorg.codehaus.groovy:groovy-all2.4.8
debian 11groovy2.4.8-1
debian 12groovy2.4.8-1
debian 13groovy2.4.8-1
debian 14groovy2.4.8-1
debian 7groovy1.8.6-1+deb7u2
debian 8groovy1.8.6-4+deb8u2
debian 8groovy22.2.2+dfsg-3+deb8u2
echogroovy2.4.8-1
Oracle Linux 7groovy1.8.9-8.el7_4
Oracle Linux 7groovy-javadoc1.8.9-8.el7_4
ubuntu 16.04-ESMgroovy22.4.5-1ubuntu0.1~esm1

References

All 23 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.