Denial of Service in Google Guava

Description

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.

Basic information

Type
reviewed
Severity
medium
Advisory on GitHub
Open advisory ↗
Repository advisory
Source code
Browse source ↗
Published (advisory)
2020-06-15 20:35:11 UTC
Updated
2023-11-09 18:46:33 UTC
GitHub reviewed
2020-06-11 18:34:57 UTC
NVD published
2018-04-26

EPSS Score

Score Percentile
3.26% 87.08%

CVSS Scores

Base score Version Severity Vector
5.9 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.

Identifiers

CWEs

CWE id Name
CWE-502 Deserialization of Untrusted Data
CWE-770 Allocation of Resources Without Limits or Throttling

Affected packages (6)

Vulnerable version ranges and first patched releases as published by GitHub.

Ecosystem Package Vulnerable range First patched Vulnerable functions
maven com.google.guava:guava-jdk5 <= 17.0
maven com.googlecode.guava-osgi:guava-osgi <= 11.0.1
maven de.mhus.ports:vaadin-shared-deps <= 7.4.0
maven org.hudsonci.lib.guava:guava <= 14.0.1-h-3
maven org.sonatype.sisu:sisu-guava = 0.11.1
maven com.google.guava:guava >= 11.0, < 24.1.1-android 24.1.1-android

References

cvelogic Threat Intelligence