Apache Groovy - Remote Code Execution Vulnerability

groovy Updated 02 Oct 2025

Summary

22/01/2017
N/A
Yes i
Unrated
Not published

DLA-794-1: groovy - security update. Affects groovy versions < 1.8.6-1+deb7u2. Fixed in 1.8.6-1+deb7u2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Apache Groovy is a dynamic language for the Java Virtual Machine (JVM) that offers seamless integration with Java. It provides features like scripting capabilities, dynamic typing, and simplified syntax. Groovy is widely used in various applications that rely on serialization. However, a vulnerability has been discovered in Groovy that allows remote code execution through deserialization. This means that an attacker can craft a specially serialized object that, when deserialized, executes malicious code. Any application that uses serialization without isolating the code responsible for deserialization is susceptible to this vulnerability.

Vulnerability Detail

The vulnerability in Apache Groovy arises from a flaw that enables remote code execution during deserialization. An attacker can exploit this flaw by creating a serialized object that triggers the execution of arbitrary code upon deserialization. This can lead to various consequences, including unauthorized access, data manipulation, and system compromise. It is crucial for applications to address this vulnerability promptly to prevent potential exploitation.

How To Fix

Minimum fixed version

1.8.6-1+deb7u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade groovy

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround available for this vulnerability. Upgrading to the patched version is the recommended solution.

Conclusion

The remote code execution vulnerability in Apache Groovy poses a significant risk to applications that rely on serialization. It is crucial to upgrade to the patched version to mitigate this vulnerability. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for groovy →

Share this vulnerability

FAQ

Apache Groovy is a dynamic language for the Java Virtual Machine (JVM) that offers scripting capabilities and seamless integration with Java.

The vulnerability allows remote code execution through deserialization, potentially leading to unauthorized access, data manipulation, and system compromise.

To fix the vulnerability, upgrade to version 1.8.6-1+deb7u2 or later of Apache Groovy.

No, upgrading to the patched version is the recommended solution.

You can obtain the updated package from the official Debian repositories or through the package manager of your operating system.

Related vulnerabilities

Recent vulnerabilities recorded for groovy.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

1.8.6-1+deb7u2

This is the first release that contains the fix.

sudo apt-get install --only-upgrade groovy

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback