cve.bz

CVE-2015-3253 Injection

9.8 criticalEPSS 43%Fix available

Critical (9.8). EPSS 43% estimated probability of exploitation activity in the next 30 days. Fixed in org.codehaus.groovy:groovy 2.4.4.

On this page
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.

Severity

CVSS 3.0

9.8 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
43% (unchanged from 41% a week ago; 41% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2015-3253 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2015-3253?via=ask-ai-copy and https://cve.bz/cve/CVE-2015-3253?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2015-3253 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:groovy1.7.0
apache:groovy1.7.0:beta_1
apache:groovy1.7.0:beta_2
apache:groovy1.7.0:rc1
apache:groovy1.7.0:rc2
apache:groovy1.7.1
apache:groovy1.7.2
apache:groovy1.7.3
apache:groovy1.7.4
apache:groovy1.7.5
apache:groovy1.7.6
apache:groovy1.7.7
apache:groovy1.7.8
apache:groovy1.7.9
apache:groovy1.7.10
apache:groovy1.7.11
apache:groovy1.8.0
apache:groovy1.8.0:beta_1
apache:groovy1.8.0:beta_2
apache:groovy1.8.0:beta_3
apache:groovy1.8.0:beta_4
apache:groovy1.8.0:rc1
apache:groovy1.8.0:rc2
apache:groovy1.8.0:rc3
apache:groovy1.8.0:rc4
apache:groovy1.8.1
apache:groovy1.8.2
apache:groovy1.8.3
apache:groovy1.8.4
apache:groovy1.8.5
apache:groovy1.8.6
apache:groovy1.8.7
apache:groovy1.8.8
apache:groovy1.8.9
apache:groovy1.9.0
apache:groovy1.9.0:beta_1
apache:groovy1.9.0:beta_3
apache:groovy1.9.0:beta_4
apache:groovy2.0.0
apache:groovy2.0.0:beta_1
apache:groovy2.0.0:beta_2
apache:groovy2.0.0:beta_3
apache:groovy2.0.0:rc1
apache:groovy2.0.0:rc2
apache:groovy2.0.0:rc3
apache:groovy2.0.0:rc4
apache:groovy2.0.1
apache:groovy2.0.2
apache:groovy2.0.3
apache:groovy2.0.4
apache:groovy2.0.5
apache:groovy2.0.6
apache:groovy2.0.7
apache:groovy2.0.8
apache:groovy2.1.0
apache:groovy2.1.0:beta_1
apache:groovy2.1.0:rc1
apache:groovy2.1.0:rc2
apache:groovy2.1.0:rc3
apache:groovy2.1.1
apache:groovy2.1.2
apache:groovy2.1.3
apache:groovy2.1.4
apache:groovy2.1.5
apache:groovy2.1.6
apache:groovy2.1.7
apache:groovy2.1.8
apache:groovy2.1.9
apache:groovy2.2.0
apache:groovy2.2.0:beta_1
apache:groovy2.2.0:beta_2
apache:groovy2.2.0:rc1
apache:groovy2.2.0:rc2
apache:groovy2.2.0:rc3
apache:groovy2.2.1
apache:groovy2.2.2
apache:groovy2.3.0
apache:groovy2.3.0:beta_1
apache:groovy2.3.0:beta_2
apache:groovy2.3.0:rc1
apache:groovy2.3.0:rc2
apache:groovy2.3.0:rc3
apache:groovy2.3.1
apache:groovy2.3.2
apache:groovy2.3.3
apache:groovy2.3.4
apache:groovy2.3.5
apache:groovy2.3.6
apache:groovy2.3.7
apache:groovy2.3.8
apache:groovy2.3.9
apache:groovy2.3.10
apache:groovy2.3.11
apache:groovy2.4.0
apache:groovy2.4.0:beta_1
apache:groovy2.4.0:beta_2
apache:groovy2.4.0:beta_3
apache:groovy2.4.0:beta_4
apache:groovy2.4.0:rc1
apache:groovy2.4.0:rc2
apache:groovy2.4.1
apache:groovy2.4.2
apache:groovy2.4.3
oracle:health_sciences_clinical_development_center3.1.1
oracle:health_sciences_clinical_development_center3.1.2
oracle:retail_order_broker_cloud_service4.1
oracle:retail_order_broker_cloud_service5.1
oracle:retail_order_broker_cloud_service5.2
oracle:retail_order_broker_cloud_service15.0
oracle:retail_service_backbone13.0
oracle:retail_service_backbone13.1
oracle:retail_service_backbone13.2
oracle:retail_service_backbone14.0
oracle:retail_service_backbone14.1
oracle:retail_service_backbone15.0
oracle:retail_store_inventory_management13.2
oracle:retail_store_inventory_management14.0
oracle:retail_store_inventory_management14.1
oracle:webcenter_sites11.1.1.8.0
oracle:webcenter_sites12.2.1

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-qg25-hgjv-cg9qMavenorg.codehaus.groovy:groovy>=1.7.0 <2.4.42.4.4
GHSA-qg25-hgjv-cg9qMavenorg.codehaus.groovy:groovy-all>=1.7.0 <2.4.42.4.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian6.0groovy1.7.0-4+deb6u1DLA-274-1
Debian12, 13, 14groovy2.4.6-1DEBIAN-CVE-2015-3253
UbuntuPro:16.04:LTSgroovy2.0.0~beta2+isreally1.8.6-4ubuntu1+esm1UBUNTU-CVE-2015-3253 USN-9101-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moregroovy, groovy-javadoc0:1.8.9-8.el7_4RHSA-2017:2486
Red Hatrhel_software_collections:2::el6rh-maven33-groovy, rh-maven33-groovy-javadoc0:1.8.9-7.19.el6RHSA-2017:2596
Red Hatrhel_software_collections:2::el7rh-maven33-groovy, rh-maven33-groovy-javadoc0:1.8.9-7.19.el7RHSA-2017:2596

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Apply the following patch on the MethodClosure class (src/main/org/codehaus/groovy/runtime/MethodClosure.java):

public class MethodClosure extends Closure {

+ private Object readResolve() {

+ throw new UnsupportedOperationException();

+

}

Alternatively, you should make sure to use a custom security policy file (using the standard Java security manager) or make sure that you do not rely on serialization to communicate remotely.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7groovy-0:1.8.9-8.el7_4Fixed 2017-08-17RHSA-2017:2486
Red Hat JBoss A-MQ 6.2Fixed 2015-12-07RHSA-2015:2557
Red Hat JBoss Data Virtualization 6.2groovy-allFixed 2016-01-25RHSA-2016:0066
Red Hat JBoss Fuse 6.2Fixed 2015-12-07RHSA-2015:2556
Red Hat JBoss Fuse Service Works 6.2Fixed 2015-12-07RHSA-2015:2558
Red Hat JBoss Operations Network 3.3groovy-allFixed 2016-02-03RHSA-2016:0118
Red Hat JBoss SOA Platform 5.3grovy-allFixed 2016-06-30RHSA-2016:1376
Red Hat Software Collections for Red Hat Enterprise Linux 6rh-maven33-groovy-0:1.8.9-7.19.el6Fixed 2017-09-05RHSA-2017:2596
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUSrh-maven33-groovy-0:1.8.9-7.19.el6Fixed 2017-09-05RHSA-2017:2596
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-maven33-groovy-0:1.8.9-7.19.el7Fixed 2017-09-05RHSA-2017:2596
Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUSrh-maven33-groovy-0:1.8.9-7.19.el7Fixed 2017-09-05RHSA-2017:2596
Red Hat BPM Suite 6groovy-allNot affected
Red Hat Enterprise Virtualization 3jasperreports-server-proAffected
Red Hat JBoss BRMS 5groovy-allWill not fix
Red Hat JBoss Enterprise Application Platform 5groovy-allWill not fix
Red Hat JBoss Fuse Service Works 6groovy-allAffected
Red Hat JBoss Portal 6groovy-allAffected
Red Hat JBoss SOA Platform 4groovy-allWill not fix
Red Hat OpenShift Enterprise 2jenkinsWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2015-3253.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-74 (37).

References

Check your stackJSON