cbcvebase.
CVE-2015-3253
published 2015-08-13

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 or cause a denial…

PriorityP269critical9.8CVSS 3.0
AVNACLPRNUINSUCHIHAH
EPSS
42.98%
98.6th percentile
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

85 ranges· showing 25
VendorProductVersion rangeFixed in
apachegroovy
apachegroovy
apachegroovy
apachegroovy
apachegroovy
apachegroovy
apachegroovy
apachegroovy
apachegroovy
apachegroovy
apachegroovy
apachegroovy
apachegroovy
apachegroovy
apachegroovy
apachegroovy
apachegroovy
apachegroovy
apachegroovy
apachegroovy
apachegroovy
apachegroovy
apachegroovy
apachegroovy
apachegroovy

Detection & IOCsextracted from sources · hover to see the quote

pathsrc/main/org/codehaus/groovy/runtime/MethodClosure.java
urlhttps://github.com/apache/groovy/commit/09e9778e8a33052d8c27105aee5310649637233d
urlhttps://github.com/apache/groovy/commit/716d3e67e744c7edeed7cbc3f874090d39355764
  • Detect deserialization of Groovy MethodClosure objects — the vulnerability is triggered when a crafted serialized object containing a MethodClosure is deserialized by an application with Groovy on the classpath.
  • Monitor Java deserialization traffic (e.g. on Elasticsearch transport protocol port) for serialized Groovy MethodClosure payloads; CVE-2015-5377 / CVE-2015-3253 are claimed to be the same vulnerability exploited via the Elasticsearch transport protocol.
  • Look for the presence of MethodClosure class in deserialized Java object streams; a readResolve() method throwing UnsupportedOperationException is the patch indicator — its absence in MethodClosure.java signals a vulnerable version.
  • Flag applications running Apache Groovy versions 1.7.0 through 2.4.3 that accept serialized objects from remote sources over HTTP or network transport.
  • ·Affected versions are Apache Groovy 1.7.0 through 2.4.3; fixed in Groovy 2.4.4+ and Debian package groovy 2.4.6-1.
  • ·For Elasticsearch (CVE-2015-5377 / same vuln), Red Hat recommends firewalling Elasticsearch to trusted users only as a mitigation rather than patching.
  • ·The upstream patch in commit 09e9778e was later deemed insufficient; a second commit (716d3e67) was required, and CVE-2016-6814 tracks the follow-on incomplete-fix issue.

CVSS provenance

nvdv3.09.8CRITICALCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_oracle9.8CRITICAL
vendor_redhat9.8CRITICAL
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.