Loading...
Skip to main content

CVE-2016-6814 — Deserialization of Untrusted Data in...

CRITICAL

Deserialization of Untrusted Data in Groovy

Published May 13, 2022Updated October 17, 2024Source: osv

Summary

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.

Advisory Timeline

  • First published May 13, 2022 (1613 days ago).
  • Last revised October 17, 2024 — 889 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.codehaus.groovy:groovy to 2.4.8 or later
<!-- Update pom.xml dependency version to 2.4.8 for org.codehaus.groovy:groovy -->
Maven
Update org.codehaus.groovy:groovy-all to 2.4.8 or later
<!-- Update pom.xml dependency version to 2.4.8 for org.codehaus.groovy:groovy-all -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: maven (2).

PackageEcosystemAffectedFixed In
org.codehaus.groovy:groovy
maven
1.7.0, 1.7.1, 1.7.10, 1.7.11 (+99 more)2.4.8
org.codehaus.groovy:groovy-all
maven
1.7.0, 1.7.1, 1.7.10, 1.7.11 (+101 more)2.4.8

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-502
    Deserialization of Untrusted DataMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2016-6814?
Deserialization of Untrusted Data in Groovy This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2016-6814?
CVE-2016-6814 affects org.codehaus.groovy:groovy and org.codehaus.groovy:groovy-all. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2016-6814 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-xphj-m9cc-8fmq

Related CVEs

  • CVE-2026-107726
    CRITICAL

    Hazelcast allows arbitrary member memory access by low-privileged client

  • CVE-2026-107282
    CRITICAL

    AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host

  • CVE-2015-3253
    CRITICAL

    Improper Neutralization of Special Elements in Output Used by a Downstream Component in Apache Groovy

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies