CVE-2016-6814: Critical severity Apache Groovy vulnerability
It was found that a flaw in apache groovy library allows remote code execution wherever deserialization occurs in the application. It is possible for an attacker to craft 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 are subject to this vulnerability.
Other sources
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
redhat/groovyto a version that resolves this vulnerability.Fixed in 0:1.8.9-8.el7_4 - Upgrade
Upgrade
redhat/rh-maven33-groovyto a version that resolves this vulnerability.Fixed in 0:1.8.9-7.19.el6 - Upgrade
Upgrade
redhat/rh-maven33-groovyto a version that resolves this vulnerability.Fixed in 0:1.8.9-7.19.el7 - Upgrade
Upgrade
maven/org.codehaus.groovy:groovy-allto a version that resolves this vulnerability.Fixed in 2.4.8 - Upgrade
Upgrade
maven/org.codehaus.groovy:groovyto a version that resolves this vulnerability.Fixed in 2.4.8 - Upgrade
Upgrade
redhat/groovyto a version that resolves this vulnerability.Fixed in 2.4.8
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2016-6814?
CVE-2016-6814 is classified as a critical vulnerability due to its potential for remote code execution.
How do I fix CVE-2016-6814?
To fix CVE-2016-6814, upgrade to Apache Groovy version 2.4.8 or later.
Which versions of Groovy are affected by CVE-2016-6814?
CVE-2016-6814 affects Groovy versions up to 2.4.7.
Is there a workaround for CVE-2016-6814 if I cannot upgrade?
Currently, there are no known workarounds that fully mitigate the risk of CVE-2016-6814.
What types of applications are vulnerable to CVE-2016-6814?
Any application that uses the Apache Groovy library for serialization and deserialization is vulnerable to CVE-2016-6814.