Skip to content

chore: bump Guava to 33.7.2-jre for CVE-2026-102554 - #103

Merged
alexheifetz merged 1 commit into
embabel:mainfrom
arnabnandy7:chore/guavaDeserialization
Nov 24, 2026
Merged

alexheifetz merged 1 commit into
embabel:mainfrom
arnabnandy7:chore/guavaDeserialization

Conversation

@arnabnandy7

@arnabnandy7 arnabnandy7 commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Pins com.google.guava:guava to 33.7.2-jre in the Embabel Build BOM. Jinjava 2.8.3 currently pulls in Guava 33.3.1-jre, which is affected by a denial-of-service vulnerability in Java deserialization. GHSA-xxph-c9ww-hj94

Validation

Verified with mvn dependency:tree that a consumer importing the patched BOM resolves Guava 33.7.2-jre across all Guava paths under Jinjava. git diff --check passed.

Follow-up

Publish the patched BOM and matching build parent, then update embabel-common and embabel-agent. Applications that consume Embabel libraries without importing the patched BOM should verify their resolved Guava version and add an override if needed. agent-gen also needs to update its explicit Guava pin.

Signed-off-by: Arnab Nandy <arnab_nandy7@yahoo.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-15T10:44:59.900523Z 1781c56 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@arnabnandy7

arnabnandy7 commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor Author

Once this PR merges, roll the fix out in the order below. The BOM fixes Guava resolution for projects that import it or inherit the matching build parent. In a Maven test, the library picked up 33.7.2-jre after importing the patched BOM, but an app consuming that library still resolved 33.3.1-jre. The app picked up the patched version once it managed Guava itself or the library declared Guava as a direct dependency. That’s worth checking from a consumer project before we call the rollout complete. GHSA-xxph-c9ww-hj94

Order Repository Follow-up
1 #103 Publish the patched embabel-build-dependencies BOM and the matching embabel-build-parent. Use the published version for the downstream updates.
2 embabel/embabel-common#144 Bump the build parent and add Guava as a direct, BOM-managed dependency of embabel-common-textio. That module currently gets 33.3.1-jre through Jinjava. Publish Common and verify the released TextIO artifact from a small consumer project.
3 embabel/embabel-agent#2254 Bump the build parent and Common. Check embabel-agent-api and embabel-agent-code separately from a consumer project. The API path goes through Common and Jinjava. The code module also pulls 33.3.0-jre through JavaParser. If the consumer still resolves the older version through the code module, add a direct, BOM-managed Guava dependency there.
In parallel embabel/agent-gen#16 Update the explicit 33.2.1-jre pin in meta-agent-core to 33.7.2-jre, or move that dependency under patched BOM management.
4 embabel/embabel-agent-experimental#54, embabel/embabel-chat-store#55, embabel/prepper#4 Update the build parent and Agent/Common versions as applicable. All three resolved 33.3.1-jre at compile scope in the audit. Recheck the runtime tree after the updates.
4 embabel/embabel-agent-rag-graph#79 Update the build parent and Agent version. The audit found 33.3.1-jre through the test-scoped Tika path. Recheck the Maven test and runtime trees, plus the separate Gradle codegen build.

Also update the older build-parent references in dice, embabel-acceptance-tests, embabel-agent-examples, embabel-agent-rag-store, embabel-cookbook, embabel-llm-database, and vaadin-components. dice/examples has a standalone build, so it needs a separate check. For applications and templates that consume Agent directly, including guide, java-agent-template, and kotlin-agent-template, verify the resolved version after bumping Agent. Add an application-level override if another dependency path still selects vulnerable Guava.

For each Maven consumer, run this against the published artifacts:

mvn dependency:tree "-Dincludes=com.google.guava:guava" -Dverbose

Check that the selected Guava version is 33.7.2-jre or newer wherever Guava is present. Older versions can still appear in verbose output as omitted conflicts. Once the runtime trees are clean, rebuild and redeploy any shipped applications or images that contain Guava.

@arnabnandy7

Copy link
Copy Markdown
Contributor Author

@igordayen @alexheifetz FYI

@igordayen

Copy link
Copy Markdown
Contributor

@arnabnandy7 - if its transitive dependency from jinjava - would jinjava upgrade be an option?

@arnabnandy7

Copy link
Copy Markdown
Contributor Author

@arnabnandy7 - if its transitive dependency from jinjava - would jinjava upgrade be an option?

@igordayen I checked the published POM for Jinjava 2.8.5, the latest release. It still pulls in Guava 33.3.1-jre, the same version as 2.8.3. Since this CVE is fixed in Guava 33.7.2-jre, I’d keep the BOM override here. It also covers other Guava paths for projects using the BOM, including JavaParser. We can upgrade Jinjava separately for its own security fixes. Jinjava 2.8.5 POM · Release notes

@alexheifetz
alexheifetz merged commit b6115ce into embabel:main Nov 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants