UBUNTU-CVE-2016-6814: Critical severity ubuntu/groovy2 vulnerability
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/groovy2to a version that resolves this vulnerability.Fixed in 2.4.5-1ubuntu0.1~esm1 - Upgrade
Upgrade
ubuntu/groovyto a version that resolves this vulnerability.Fixed in 2.0.0~beta2+isreally1.8.6-4ubuntu1+esm1
Event History
Frequently Asked Questions
Which applications are exposed to this issue?
Applications with the affected Groovy versions on their classpath are exposed when they use standard Java serialization to exchange data between servers or store local data and do not isolate the code that deserializes objects.
What does an attacker need to exploit it?
An attacker needs a way to supply a specially crafted serialized object to an affected application so that the application deserializes it. No authentication or user interaction is required according to the supplied severity vector.
Are applications that include Groovy but do not deserialize objects affected?
The described attack requires use of standard Java serialization and deserialization of attacker-crafted objects. The provided information does not identify exposure for applications that do not perform this deserialization.
What can be done if the affected Groovy package cannot be updated immediately?
Avoid deserializing untrusted serialized objects, and isolate the code that performs deserialization. The description identifies applications that do not isolate deserialization code as subject to the vulnerability.