Skip to content

Upgrade the dependencies the source scan flags - #107

Merged
Manushpm8 merged 1 commit into
v2-candidatefrom
scan-upgrades
Nov 12, 2026
Merged

Manushpm8 merged 1 commit into
v2-candidatefrom
scan-upgrades

Conversation

@Manushpm8

Copy link
Copy Markdown
Collaborator

Problem

The 2.0.0 source scan still reports Critical and High findings.
nSpect no longer honors the allowlist from #103.
These findings have to go away by upgrading.

Change

duckdb and libduckdb-sys go from 1.10506.0 to 1.10506.1.
It bundles the same DuckDB 1.5.6 sources.
Its build dependency moves from zip 6.0.0 to 9.5.1.
The four zip advisory ignores in rust/deny.toml are removed.

java/pom.xml pins what Spark 4.0.1 brings.
Each pin is the lowest release on Spark's own line that clears every flagged ID.

Package Old New
Netty (netty-bom) 4.1.118.Final 4.1.138.Final
Jersey (jersey-bom) 3.0.16 3.0.17
Log4j (log4j-bom) 2.24.3 2.25.5
ZooKeeper 3.9.3 3.9.5
Avro 1.12.0 1.12.1
ICU4J 76.1 77.1
lz4-java org.lz4 1.8.0 at.yawk.lz4 1.11.4
Commons Codec 1.22.1 1.23.0

The fixed versions come from the Black Duck records in nSpect.
Netty 4.1.138 fixes every flagged Netty ID, so Spark stays on Netty 4.1.
lz4-java moved to at.yawk.lz4. Spark's org.lz4 copy is excluded and the fork is declared provided.
Commons Codec 1.23.0 clears BDSA-2026-39919, a new High on 1.22.1.

Every allowlist entry is now fixed. The allowlist file is removed.

Validation

cargo update -p duckdb --precise 1.10506.1 changes only duckdb, libduckdb-sys, zip and zip 9's own dependencies.
cargo deny check passes with the same warnings as before.
rust_notices.py --check passes. No shipped crate changed.
mvn dependency:tree resolves every package above to its new version in all scopes.
The shipped runtime classpath differs from the base only in Commons Codec.
SparkReadersTest passes on JDK 21 with a local Spark session.
java/parity-connect-pom.xml is a test launcher the scan does not report.

🤖 Generated with Claude Code

The 2.0.0 source scan reports Critical and High findings in zip and in
packages Spark 4.0.1 brings. nSpect no longer honors the allowlist, so
upgrade them instead.

duckdb and libduckdb-sys go to 1.10506.1. It bundles the same DuckDB
1.5.6 sources and moves its build dependency from zip 6 to zip 9.5.1.
The four zip advisory ignores in deny.toml go with it.

java/pom.xml pins each package Spark brings at the lowest release on
Spark's own line that clears the scan's IDs. Netty 4.1.138.Final,
Jersey 3.0.17, Log4j 2.25.5, ZooKeeper 3.9.5, Avro 1.12.1, ICU4J 77.1.
lz4-java moved to at.yawk.lz4, so Spark's org.lz4 copy is excluded and
at.yawk.lz4 1.11.4 declared provided in its place. commons-codec goes
to 1.23.0 for BDSA-2026-39919.

Every allowlist entry is now fixed, so the allowlist is removed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Manush Murali <manushm@nvidia.com>
@coderabbitai

coderabbitai Bot commented Nov 12, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@Manushpm8
Manushpm8 merged commit 1abed9c into v2-candidate Nov 12, 2026
84 checks passed
@Manushpm8
Manushpm8 deleted the scan-upgrades branch November 12, 2026 22:42
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.

1 participant