TippingPoint Zero Day Initiative

Apache Groovy MethodClosure Deserialization of Untrusted Data Remote Code Execution Vulnerability

ZDI-17-044: January 20th, 2017


CVSS Score

Affected Vendors


Affected Products

TippingPoint™ IPS Customer Protection

TippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID 25375. For further product information on the TippingPoint IPS:

Vulnerability Details

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Apache Groovy. Interaction with this library is required to exploit this vulnerability but attack vectors may vary depending on implementation.

The specific flaw exists within the handling of serialized MethodClosure objects. A crafted stream of bytes, when deserialized, can result in the creation of an unsafe instance of MethodClosure. An attacker can leverage this vulnerability to execute arbitrary code under the context of the current process.

Vendor Response

Apache has issued an update to correct this vulnerability. More details can be found at:

Disclosure Timeline

    2016-09-19 - Vulnerability reported to vendor
    2017-01-20 - Coordinated public release of advisory


This vulnerability was discovered by:
    Sam Thomas of Pentest Limited