Repository navigation
CVE-2026-102554 Upgrade Guava to 33.7.2-jre - #383
Merged
vharseko merged 1 commit intoOct 29, 2026
Merged
Conversation
Guava 4.0 through 33.7.1 allocates an array of the size a serialized stream asks for when it deserializes a CompactHashMap, CompactHashSet or MapMakerInternalMap, so a crafted stream exhausts the heap (GHSA-xxph-c9ww-hj94). 33.7.2 fixes it. Guava 33.6.0 deprecates the CacheBuilder methods that take a TimeUnit; the geo Client now passes a Duration to expireAfterAccess.
vharseko
added a commit
to vharseko/OpenDJ
that referenced
this pull request
Oct 29, 2026
…enAPI transformer and Guava 33.7.2 against CVE-2026-102554 commons 3.2.3 brings OpenIdentityPlatform/commons#382: OpenApiTransformer describes a JSON Schema type array such as ["string", "null"] instead of failing the whole API description. OpenIDM gets api-descriptor through the OpenICF BOM, which imports opendj-parent (OpenIdentityPlatform/OpenIDM#266). It also brings OpenIdentityPlatform/commons#383: Guava 33.4.8-jre -> 33.7.2-jre, which fixes CVE-2026-102554 (GHSA-xxph-c9ww-hj94). Guava up to 33.7.1 allocates an array of the size a serialized stream asks for when it deserializes a CompactHashMap, CompactHashSet or MapMakerInternalMap. The server ships Guava through http-framework core, but never deserializes a Guava type: the main code has no ObjectInputStream, and the serial filter of the JMX RMI connector rejects com.google.common.*.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps Guava in the
parentPOM from 33.4.8-jre to 33.7.2-jre, so every downstream consumer of the BOM picks up the fix without per-project overrides.CVE-2026-102554 / GHSA-xxph-c9ww-hj94 (high, CVSS 5.9)
From 4.0 through 33.7.1, Guava allocates an array of the size a serialized stream asks for when it deserializes a
CompactHashMap,CompactHashSetorMapMakerInternalMap, so a crafted stream exhausts the heap (CWE-770). 33.7.2 fixes it (google/guava@a0d0c36432).Trivy reports it in the OpenDJ images (
lib/com.google.guava.guava.jar), which get Guava throughhttp-framework/core. OpenIdentityPlatform/OpenDJ#1243 moves OpenDJ to 3.2.3-SNAPSHOT.What else changes between 33.4.8 and 33.7.2
failureaccess1.0.3, the emptylistenablefuture,jspecify,error_prone_annotations,j2objc-annotations), so the exclusions stay as they are.CacheBuildermethods that take aTimeUnit(expireAfterAccess,expireAfterWrite,refreshAfterWrite; 33.6.0),ImmutableSortedMap.pollFirstEntry/pollLastEntryandGraphs.transitiveClosure(Graph). The only one commons calls isexpireAfterAccess(60, TimeUnit.SECONDS)ingeo'sClient; it now passesDuration.ofSeconds(60)(available since Guava 25), so the build gets no new deprecation warning and CodeQL no newjava/deprecated-call.module-info.classto the jar root, and 33.7.1 removed theMulti-Releasemanifest line that came with it.Verification
clean verifyof every module that uses Guava, together with the modules they depend on (-pl bloomfilter/core,bloomfilter/monitoring,commons/audit/handler-splunk,commons/auth-filters/authn-filter/jaspi-runtime,commons/geo,commons/http-framework/core,commons/rest/api-descriptor,commons/rest/json-resource,commons/rest/json-resource-http,commons/selfservice/custom-stage,commons/selfservice/json,guice/core -am), on JDK 11.0.32 and JDK 27:bloomfilter/core4877,http-framework/core1059,json-resource529,util451, …).dependency:list: every module with Guava on its classpath resolvescom.google.guava:guava:33.7.2-jre.Charsets.UTF_8andFiles.toStringinapi-descriptor'sExamplesTest).