Skip to content
OpenAdvisories
Critical · 9.8 CVE-2016-6814 EUVD-2022-5835GHSA-xphj-m9cc-8fmq

Deserialization of Untrusted Data in Groovy

Published Jan 18, 2018 · Updated Sep 16, 2024 · Assigned by mitre

Description

When an application with unsupported Codehaus versions of Groovy from 1.7.0 to 2.4.3, Apache Groovy 2.4.4 to 2.4.7 on classpath uses standard Java serialization mechanisms, e.g. to communicate between servers or to store local data, it was possible for an attacker to bake a special serialized object that will execute code directly when deserialized. All applications which rely on serialization and do not isolate the code which deserializes objects were subject to this vulnerability.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 groovy 2.4.8-1 —
Debian 13 groovy 2.4.8-1 —
Debian 12 groovy 2.4.8-1 —
Debian 7 groovy 1.8.6-1+deb7u2 DLA-794-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS groovy No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS groovy2 2.4.5-1ubuntu0.1~esm1 USN-4795-1
ReleasePackageFixed inAdvisory
RHEL 7 groovy +1 1.8.9-8.el7_4 RHSA-2017:2486
RHEL 2 rh-maven33-groovy +1 1.8.9-7.19.el6 RHSA-2017:2596

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 groovy +1 1.8.9-8.el7_4 ELSA-2017-2486

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.codehaus.groovy:groovy >= 1.7.0, < 2.4.8 2.4.8 GHSA-xphj-m9cc-8fmq
Maven org.codehaus.groovy:groovy-all >= 1.7.0, < 2.4.8 2.4.8 GHSA-xphj-m9cc-8fmq

Advisories 5

References