chore(deps): align guava in tools/dotcms-cli with the BOM (32.1.3 → 33.7.2)
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 66/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- java
- 领域
- backend, build-system
调研方向
Read tools/dotcms-cli/pom.xml and the Quarkus BOM import, then run the provided dependency:list command to confirm the resolved Guava version. Add a dependencyManagement entry before the Quarkus BOM import to pin Guava to 33.7.2-jre or later. Verify the resolution, JVM build and tests, native profile build and binary, and the full module dependency tree.
由索引模型根据 Issue 内容生成。
描述
Description
tools/dotcms-cli resolves com.google.guava:guava:32.1.3-jre, while the rest of the project moved to 33.7.2-jre in #38493 / #38603. The bump does not reach the CLI because the CLI module inherits dotcms-parent and never imports bom/application/pom.xml, where the new guava.version property lives. Its Guava comes instead from the Quarkus platform BOM (quarkus.platform.version 3.6.0, tools/dotcms-cli/pom.xml:24), pulled in transitively — tools/dotcms-cli/api-data-model/pom.xml:80-81 declares jackson-datatype-guava.
Reproduce with:
./mvnw dependency:list -f tools/dotcms-cli/pom.xml -Dincludes=com.google.guava:guava
[INFO] com.google.guava:guava:jar:32.1.3-jre:compile
32.1.3-jre is inside the range covered by CVE-2026-102554 (GHSA-xxph-c9ww-hj94, affected <= 33.7.1). The CLI is a REST/JSON client and does not deserialize Java object streams from a remote source, so the deserialization path the advisory describes is not reachable there the way it is on the server; cicd_scheduled_image-cve-scan.yml also only scans the dotcms/dotcms images, not the CLI distribution. The reason to align it is that we publish the artifact and anyone scanning it will flag the version.
Quarkus itself does not need to be upgraded. Guava is not a platform artifact, so a dependencyManagement entry declared ahead of the Quarkus BOM import in tools/dotcms-cli/pom.xml pins it.
Acceptance Criteria
-
tools/dotcms-cliresolves guava 33.7.2-jre or later; the command above prints only that version - The CLI still builds and its tests pass on the JVM
- The
nativeprofile still builds and the native binary runs — GraalVM is the place a library change shows up, through reflection and build-time initialization - Confirm nothing else in the module tree consumes Guava in a way the bump breaks (the full
dependency:treewas not completed while filing this)
Additional Context
Found while QA-ing #38493. No change expected in CLI behavior; this is a version alignment.
- 主要语言
- Java
- 星标
- 972
- 派生
- 493
- 平均合并
- 2 天 12 小时
- 30 天内合并 PR
- 228
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
dotCMS/core 的其他 Issue
-
dotCMS : UVE OKR : Customer Support Team : Maintenance Type : Defect
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 2 天内回复
-
OKR : Customer Support Team : Maintenance Type : Defect
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复
-
Opening content from Content Search replaces the "Search" breadcrumb in the new Edit Content screen未关闭dotCMS: New Edit Contentlet OKR : Customer Support Team : Falcon Type : Defect
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复
-
Escape the Binary field hint in the legacy content editor so an apostrophe doesn't break the field未关闭OKR : Customer Support Team : Maintenance Type : Defect
难度 2/5 1-3 小时 新手友好度 79/100
维护者通常 2 天内回复
-
dotCMS : Permissions OKR : Customer Support Team : Maintenance Type : Defect
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 2 天内回复
相似的 Issue
-
desktop grp:about type:graphics-bug ui-public
难度 1/5 1 小时以内 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 2 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 70/100
it-at-m/Wahllokalsystem#3846 ·
维护者通常 2 天内回复
-
Area/Connector module/solace Priority/Low Type/Bug
难度 2/5 1-3 小时 新手友好度 77/100
ballerina-platform/ballerina-library#9849 ·
维护者通常 1 天内回复