CVE-2015-3253
Improper Neutralization of Special Elements in Output Used by a Downstream Component in Apache Groovy
Also known as GHSA-qg25-hgjv-cg9q
Mitigation
- Upgrade org.codehaus.groovy:groovy to 2.4.4 or later.
- Upgrade org.codehaus.groovy:groovy-all to 2.4.4 or later.
Who should check
- Projects that depend on Maven package org.codehaus.groovy:groovy (>= 1.7.0, < 2.4.4)
- Projects that depend on Maven package org.codehaus.groovy:groovy-all (>= 1.7.0, < 2.4.4)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- org.codehaus.groovy:groovy >= 1.7.0, < 2.4.4; org.codehaus.groovy:groovy-all >= 1.7.0, < 2.4.4
- Fixed in
- 2.4.4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.8 (v3.0, NVD)CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 40.61% chance of exploitation in 30 days (percentile 99, 2026-11-26)
- CWE
- CWE-74
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.codehaus.groovy:groovy | >= 1.7.0, < 2.4.4 | 2.4.4 | osv |
| Maven org.codehaus.groovy:groovy-all | >= 1.7.0, < 2.4.4 | 2.4.4 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2015-3253. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2015-3253.md Affected: org.codehaus.groovy:groovy >= 1.7.0, < 2.4.4; org.codehaus.groovy:groovy-all >= 1.7.0, < 2.4.4 Fixed in: 2.4.4 Steps: 1. Search this machine and project for org.codehaus.groovy:groovy (Maven), org.codehaus.groovy:groovy-all (Maven), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
- https://access.redhat.com/errata/RHSA-2017:2596
- https://access.redhat.com/errata/RHSA-2016:1376
- https://security.gentoo.org/glsa/201610-01
- http://groovy-lang.org/security.html
- http://rhn.redhat.com/errata/RHSA-2016-0066.html
- https://access.redhat.com/errata/RHSA-2017:2486
- https://nvd.nist.gov/vuln/detail/CVE-2015-3253
Patches
Exploits and PoCs
Other
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05324755
- 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://www.securityfocus.com/bid/91787
- http://www.zerodayinitiative.com/advisories/ZDI-15-365/
- 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
- https://github.com/apache/groovy
- https://lists.apache.org/thread.html/rbb8e16cc5acab183124572b655bdf5fe1d5b5f477dc267352426c7ed@%3Cnotifications.shardingsphere.apache.org%3E
- https://security.netapp.com/advisory/ntap-20160623-0001
- http://www.zerodayinitiative.com/advisories/ZDI-15-365
FAQ
Is CVE-2015-3253 being exploited?
There is no confirmed exploitation: CVE-2015-3253 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 40.61% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2015-3253?
Critical: CVSS 9.8 (v3.0, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2015-3253?
org.codehaus.groovy:groovy >= 1.7.0, < 2.4.4; org.codehaus.groovy:groovy-all >= 1.7.0, < 2.4.4.
Is there a fix for CVE-2015-3253?
Yes. Fixed in 2.4.4. Upgrade org.codehaus.groovy:groovy to 2.4.4 or later. Upgrade org.codehaus.groovy:groovy-all to 2.4.4 or later.
How do I check if I'm affected by CVE-2015-3253?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.