Denial of Service via Eager Array Allocation During Deserialization in Guava
Google Guava
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| com.google.guava:guava Maven |
|
|
Original description
Allocation of resources without limits or throttling (CWE-770) during Java object deserialization in Google Guava versions 4.0 through 33.7.1 allows an attacker to cause a Denial of Service via OutOfMemoryError. When deserializing CompactHashMap, CompactHashSet, or MapMakerInternalMap instances, Guava eagerly allocates an array based on a caller-specified size parameter without throttling, permitting memory exhaustion from crafted serialization streams.
From the CVE record · Google