Gabriel39 opened a new pull request, #71189:
URL: https://github.com/apache/doris/pull/71189

   ### Background
   
   Doris bundles Java Parquet and Snappy in the FE and BE Java extensions. 
Iceberg V4 manifest reads use these libraries in both FE planning and the BE 
metadata scanner. Parquet also embeds Jackson classes under a relocated package 
name.
   
   ### What problem does this PR solve?
   
   Issue Number: None
   Related PR: #70869 (follow-up to its dependency security review)
   PR Type: Release/Dependency
   
   Problem Summary:
   
   The shared Maven baseline still selects Parquet 1.18.1, with embedded 
Jackson 2.22.2, and Snappy 1.1.10.5. Upgrade both shared version properties so 
the FE and BE Iceberg packages include patched dependencies. Updating the 
ordinary Jackson BOM cannot replace Parquet's relocated classes, and upgrading 
Parquet alone cannot override the parent-managed Snappy version.
   
   ### Details
   
   - **Versions:** Maven Central artifacts: Parquet 1.18.1 → 1.18.2 and 
`snappy-java` 1.1.10.5 → 1.1.10.12. Parquet's embedded Jackson Core and 
Databind become 2.22.4. Both targets were the latest published releases when 
checked.
   - **Upstream changes:** [Parquet 
1.18.2](https://github.com/apache/parquet-java/releases/tag/apache-parquet-1.18.2)
 updates embedded Jackson for CVE-2026-110879, CVE-2026-89407 and 
CVE-2026-89425, alongside column-path and buffer-cleanup fixes. Snappy's 
[native bounds and length 
validation](https://github.com/xerial/snappy-java/pull/739) addresses 
CVE-2026-108106 and CVE-2026-90559; 
[1.1.10.12](https://github.com/xerial/snappy-java/releases/tag/v1.1.10.12) also 
handles Hadoop's eight-byte block header. Declared licenses remain Apache 2.0, 
with existing LICENSE/NOTICE coverage retained.
   - **Compatibility:** Built and tested with JDK 17.0.16 on Linux x86_64. Both 
Java runtime closures pass SNAPPY Parquet reads/writes and native 
buffer-validation checks. No Doris protocol or storage-format definition 
changes; non-x86_64 runtime execution was not tested.
   - **Rollback:** Revert the two version properties, rebuild, and redeploy the 
affected FE and BE Java packages. This restores the previous dependency 
versions and their known vulnerabilities; no Doris metadata migration is 
introduced.
   
   ### Testing
   
   - Existing FE/BE suites via `run-fe-ut.sh`: 153 tests passed, zero 
failures/errors/skips across `IcebergFormatV4ReadTest`, `IcebergV4FileIOTest`, 
`IcebergPluginTest` and `IcebergSerializationCompatTest`.
   - Rebuilt the Java packages with `build.sh --fe` and the Maven build cache 
disabled. Inspected the final FE connector ZIP, BE scanner `target/lib`, FE 
Iceberg output and FE core output: only Parquet 1.18.2 and Snappy 1.1.10.12 
direct copies; embedded Jackson Core/Databind are 2.22.4.
   - Standalone smoke checks against each new Iceberg runtime closure passed 
Snappy byte-array and direct-buffer round trips, rejection of undersized direct 
output buffers, and a 100-row SNAPPY Parquet write/read.
   - Native Doris builds, live SQL regression and non-x86_64 runtimes were not 
exercised. No third-party native build pins, prebuilt packages or checksums 
changed.
   
   ### Release note
   
   Upgrade the Java Parquet and Snappy dependencies to include upstream Jackson 
and decompression security fixes.
   
   ### Check List (For Author)
   
   - Behavior changed: No
   - Does this need documentation: No
   - Pre-submission status: Ready
   
   ### AI Disclosure
   
   - Tool: Codex (GPT-6).
   - Generated: dependency changes, verification probes and this description.
   - Human review: not stated.
   - Prompts: Analyze the dependency review on #70869, then submit a separate 
dependency-upgrade PR after #70869 merged.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to