Vulnerabilities in pkg:maven/org.hudsonci.lib.guava/guava
PACKAGECVE-2018-10237 is a MODERATE (CVSS 5.9) denial of service vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Guava libraries in the Maven ecosystem. The issue involves denial of service in google guava. Remediation is available by upgrading affected packages to version 24.1.1-android.
pkg:maven/org.hudsonci.lib.guava/guava
Vulnerability advisories affecting package pkg:maven/org.hudsonci.lib.guava/guava. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-mvr2-9pj6-7w5j | CVE-2018-10237 | MODERATE | Denial of Service in Google Guava |
CVE-2018-10237 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H).
How to Fix CVE-2018-10237
To remediate this vulnerability, upgrade all affected Guava dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>24.1.1-android</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava-jdk5</artifactId>
<version>Latest secure release</version>
</dependency>
<dependency>
<groupId>com.googlecode.guava-osgi</groupId>
<artifactId>guava-osgi</artifactId>
<version>Latest secure release</version>
</dependency>
<dependency>
<groupId>de.mhus.ports</groupId>
<artifactId>vaadin-shared-deps</artifactId>
<version>Latest secure release</version>
</dependency>
<dependency>
<groupId>org.hudsonci.lib.guava</groupId>
<artifactId>guava</artifactId>
<version>Latest secure release</version>
</dependency>
<dependency>
<groupId>org.sonatype.sisu</groupId>
<artifactId>sisu-guava</artifactId>
<version>Latest secure release</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=com.google.guava
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2018-10237, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.google.guava
Analyze the terminal output to locate any version of Guava in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 24.1.1-android), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.google.guava command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Guava, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2018-10237 Affected Guava Versions
6 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.google.guava:guava
|
Maven |
≥ 11.0
< 24.1.1-android
|
24.1.1-android
|
|
com.google.guava:guava-jdk5
|
Maven |
≤ 17.0
|
|
|
com.googlecode.guava-osgi:guava-osgi
|
Maven |
≤ 11.0.1
|
|
|
de.mhus.ports:vaadin-shared-deps
|
Maven |
≤ 7.4.0
|
|
|
org.hudsonci.lib.guava:guava
|
Maven |
≤ 14.0.1-h-3
|
|
|
org.sonatype.sisu:sisu-guava
|
Maven |
0.11.1
All 1 versions
0.11.1
|
None specified
|
References
Frequently Asked Questions
What is CVE-2018-10237?
Which Guava versions are affected?
What version fixes CVE-2018-10237?
Is guava affected?
Is guava-jdk5 affected?
What is the CVSS score of CVE-2018-10237?
What CWE is associated with CVE-2018-10237?
How can I check Maven dependencies for CVE-2018-10237?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mvr2-9pj6-7w5j",
"modified" : "2023-09-07T22:25:36Z",
"published" : "2020-06-15T20:35:11Z",
"aliases" : [ "CVE-2018-10237" ],
"summary" : "Denial of Service in Google Guava",
"details" : "Unbounded memory allocation in Google Guava 11.0 through 24.x before 24.1.1 allows remote attackers to conduct denial of service attacks against servers that depend on this library and deserialize attacker-provided data, because the AtomicDoubleArray class (when serialized with Java serialization) and the CompoundOrdering class (when serialized with GWT serialization) perform eager allocation without appropriate checks on what a client has sent and whether the data size is reasonable.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.google.guava:guava"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "11.0"
}, {
"fixed" : "24.1.1-android"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "com.google.guava:guava-jdk5"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "17.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "com.googlecode.guava-osgi:guava-osgi"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "11.0.1"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "de.mhus.ports:vaadin-shared-deps"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "7.4.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.hudsonci.lib.guava:guava"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "14.0.1-h-3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.sonatype.sisu:sisu-guava"
},
"versions" : [ "0.11.1" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-10237"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:2423"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r223bc776a077d0795786c38cbc6e7dd808fce1a9161b00ba9c0a5d55@%3Cissues.lucene.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r22c8173b804cd4a420c43064ba4e363d0022aa421008b1989f7354d4@%3Cissues.flink.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r27eb79a87a760335226dbfa6a7b7bffea539a535f8e80c41e482106d@%3Cdev.cxf.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r2ea4e5e5aa8ad73b001a466c582899620961f47d77a40af712c1fdf9@%3Cdev.cxf.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r30e7d7b6bfa630dacc41649a0e96dad75165d50474c1241068aa0f94@%3Cissues.storm.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r352e40ca9874d1beb4ad95403792adca7eb295e6bc3bd7b65fabcc21@%3Ccommits.samza.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r38e2ab87528d3c904e7fac496e8fd766b9277656ff95b97d6b6b6dcd@%3Cdev.cxf.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r3c3b33ee5bef0c67391d27a97cbfd89d44f328cf072b601b58d4e748@%3Ccommits.pulsar.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r43491b25b2e5c368c34b106a82eff910a5cea3e90de82ad75cc16540@%3Cdev.syncope.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r50fc0bcc734dd82e691d36d209258683141bfc0083739a77e56ad92d@%3Cdev.flink.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r841c5e14e1b55281523ebcde661ece00b38a0569e00ef5e12bd5f6ba@%3Cissues.maven.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r95799427b335807a4c54776908125c3e66597b65845ae50096d9278a@%3Cdev.cxf.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/ra0adb9653c7de9539b93cc8434143b655f753b9f60580ff260becb2b@%3Cusers.kafka.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/ra4f44016926dcb034b3b230280a18102062f94ae55b8a31bb92fed84@%3Cissues.lucene.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/ra8906723927aef2a599398c238eacfc845b74d812e0093ec2fc70a7d@%3Cissues.flink.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/rb3da574c34bc6bd37972d2266af3093b90d7e437460423c24f477919@%3Cissues.lucene.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/rc78f6e84f82cc662860e96526d8ab969f34dbe12dc560e22d9d147a3@%3Cdev.cxf.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/rc8467f357b943ceaa86f289f8bc1a5d1c7955b75d3bac1426f2d4ac1@%3Ccommon-dev.hadoop.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/rd01f5ff0164c468ec7abc96ff7646cea3cce6378da2e4aa29c6bcb95@%3Cgithub.arrow.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/rd0c8ec6e044aa2958dd0549ebf8ecead7f5968c9474ba73a504161b2@%3Cdev.cxf.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/rdc56c15693c236e31e1e95f847b8e5e74fc0a05741d47488e7fc8c45@%3Cissues.flink.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20220629-0008"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/security-alerts/cpuapr2020.html"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/security-alerts/cpujan2021.html"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/security-alerts/cpujul2020.html"
}, {
"type" : "WEB",
"url" : "https://www.oracle.com/security-alerts/cpuoct2021.html"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:2424"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:2425"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:2428"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:2598"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:2643"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:2740"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:2741"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:2742"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:2743"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:2927"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2019:2858"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2019:3149"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/google/guava"
}, {
"type" : "WEB",
"url" : "https://github.com/google/guava/wiki/CVE-2018-10237"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/d/topic/guava-announce/xqWALw4W1vs/discussion"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/053d9ce4d579b02203db18545fee5e33f35f2932885459b74d1e4272@%3Cissues.activemq.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/19fa48533bc7ea1accf6b12746a74ed888ae6e49a5cf81ae4f807495@%3Ccommon-dev.hadoop.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/33c6bccfeb7adf644d4d79894ca8f09370be6ed4b20632c2e228d085@%3Ccommits.cassandra.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/3d5dbdd92ac9ceaef90e40f78599f9109f2f345252e0ac9d98e7e084@%3Cgitbox.activemq.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/3ddd79c801edd99c0978e83dbe2168ebd36fd42acfa5dac38fb03dd6@%3Cissues.activemq.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/519eb0fd45642dcecd9ff74cb3e71c20a4753f7d82e2f07864b5108f@%3Cdev.drill.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/b0656d359c7d40ec9f39c8cc61bca66802ef9a2a12ee199f5b0c1442@%3Cdev.drill.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/cc48fe770c45a74dc3b37ed0817393e0c96701fc49bc431ed922f3cc@%3Chdfs-dev.hadoop.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/f9bc3e55f4e28d1dcd1a69aae6d53e609a758e34d2869b4d798e13cc@%3Cissues.drill.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/ff8dcfe29377088ab655fda9d585dccd5b1f07fabd94ae84fd60a7f8@%3Ccommits.pulsar.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r02e39d7beb32eebcdbb4b516e95f67d71c90d5d462b26f4078d21eeb@%3Cdev.flink.apache.org%3E"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread.html/r02e39d7beb32eebcdbb4b516e95f67d71c90d5d462b26f4078d21eeb@%3Cuser.flink.apache.org%3E"
}, {
"type" : "WEB",
"url" : "http://www.securitytracker.com/id/1041707"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502", "CWE-770" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-11T18:34:57Z",
"nvd_published_at" : "2018-04-26T21:29:00Z"
}
}