From 8b917c8d79b86014d08d3b7292554a90ca87c41b Mon Sep 17 00:00:00 2001 From: Manush Murali Date: Thu, 12 Nov 2026 11:46:40 -0800 Subject: [PATCH 1/2] Add the nSpect vulnerability allowlist The 2.0.0 source scan reports 22 Critical and High findings in code that no release ships. The zip crate is a build dependency of libduckdb-sys, which only the dev-only sdm-testkit reaches. The Java findings come from spark-sql_2.13, which java/pom.xml declares provided and optional, and the Java library is not published. Each entry gives the reason and the command that shows it. Each one is marked open with no PSIRT reference and expires on 2027-05-12. jackson-databind 2.18.2 and Apache Commons Codec 1.19.0 are left out on purpose. Both resolve at compile scope in java/pom.xml. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Manush Murali --- .nspect-vuln-allowlist.toml | 203 ++++++++++++++++++++++++++++++++++++ 1 file changed, 203 insertions(+) create mode 100644 .nspect-vuln-allowlist.toml diff --git a/.nspect-vuln-allowlist.toml b/.nspect-vuln-allowlist.toml new file mode 100644 index 000000000..b1107e1a5 --- /dev/null +++ b/.nspect-vuln-allowlist.toml @@ -0,0 +1,203 @@ +# SPDX-FileCopyrightText: Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. +# All rights reserved. +# SPDX-License-Identifier: Apache-2.0 + +version = "1.0.0" + +[[oss.allowlist]] +cve-id = "CVE-2026-115905" +package = "zip" +versions = ["6.0.0"] +jira = "NO-REF" +exception_status = "open" +exception_expiration = 2027-05-12 +comment = "Build dependency of libduckdb-sys only. libduckdb-sys reaches this workspace only through sdm-testkit, the dev-only test host (publish = false). cargo tree -p sdm-py and -p sdm-jni with -e normal,build show no zip on any of the five release targets. No shipped wheel or native library contains it." + +[[oss.allowlist]] +cve-id = "CVE-2026-115907" +package = "zip" +versions = ["6.0.0"] +jira = "NO-REF" +exception_status = "open" +exception_expiration = 2027-05-12 +comment = "Build dependency of libduckdb-sys only. libduckdb-sys reaches this workspace only through sdm-testkit, the dev-only test host (publish = false). cargo tree -p sdm-py and -p sdm-jni with -e normal,build show no zip on any of the five release targets. No shipped wheel or native library contains it." + +[[oss.allowlist]] +cve-id = "CVE-2026-115909" +package = "zip" +versions = ["6.0.0"] +jira = "NO-REF" +exception_status = "open" +exception_expiration = 2027-05-12 +comment = "Build dependency of libduckdb-sys only. libduckdb-sys reaches this workspace only through sdm-testkit, the dev-only test host (publish = false). cargo tree -p sdm-py and -p sdm-jni with -e normal,build show no zip on any of the five release targets. No shipped wheel or native library contains it." + +[[oss.allowlist]] +cve-id = "CVE-2026-56817" +package = "Netty Project" +versions = ["4.1.118"] +jira = "NO-REF" +exception_status = "open" +exception_expiration = 2027-05-12 +comment = "Comes from io.netty 4.1.118.Final under org.apache.spark:spark-sql_2.13 4.0.1. java/pom.xml declares Spark with provided scope and optional true, so it is never packaged, never copied to target/lib and never passed to a consumer. mvn -f java/pom.xml dependency:tree lists it as provided (optional). No Python wheel contains Java code, and the Java library is not published anywhere." + +[[oss.allowlist]] +cve-id = "BDSA-2026-13743" +package = "Netty Project" +versions = ["4.1.118"] +jira = "NO-REF" +exception_status = "open" +exception_expiration = 2027-05-12 +comment = "Comes from io.netty 4.1.118.Final under org.apache.spark:spark-sql_2.13 4.0.1. java/pom.xml declares Spark with provided scope and optional true, so it is never packaged, never copied to target/lib and never passed to a consumer. mvn -f java/pom.xml dependency:tree lists it as provided (optional). No Python wheel contains Java code, and the Java library is not published anywhere." + +[[oss.allowlist]] +cve-id = "BDSA-2026-13744" +package = "Netty Project" +versions = ["4.1.118"] +jira = "NO-REF" +exception_status = "open" +exception_expiration = 2027-05-12 +comment = "Comes from io.netty 4.1.118.Final under org.apache.spark:spark-sql_2.13 4.0.1. java/pom.xml declares Spark with provided scope and optional true, so it is never packaged, never copied to target/lib and never passed to a consumer. mvn -f java/pom.xml dependency:tree lists it as provided (optional). No Python wheel contains Java code, and the Java library is not published anywhere." + +[[oss.allowlist]] +cve-id = "BDSA-2026-13753" +package = "Netty Project" +versions = ["4.1.118"] +jira = "NO-REF" +exception_status = "open" +exception_expiration = 2027-05-12 +comment = "Comes from io.netty 4.1.118.Final under org.apache.spark:spark-sql_2.13 4.0.1. java/pom.xml declares Spark with provided scope and optional true, so it is never packaged, never copied to target/lib and never passed to a consumer. mvn -f java/pom.xml dependency:tree lists it as provided (optional). No Python wheel contains Java code, and the Java library is not published anywhere." + +[[oss.allowlist]] +cve-id = "BDSA-2026-13755" +package = "Netty Project" +versions = ["4.1.118"] +jira = "NO-REF" +exception_status = "open" +exception_expiration = 2027-05-12 +comment = "Comes from io.netty 4.1.118.Final under org.apache.spark:spark-sql_2.13 4.0.1. java/pom.xml declares Spark with provided scope and optional true, so it is never packaged, never copied to target/lib and never passed to a consumer. mvn -f java/pom.xml dependency:tree lists it as provided (optional). No Python wheel contains Java code, and the Java library is not published anywhere." + +[[oss.allowlist]] +cve-id = "BDSA-2026-23495" +package = "Netty Project" +versions = ["4.1.118"] +jira = "NO-REF" +exception_status = "open" +exception_expiration = 2027-05-12 +comment = "Comes from io.netty 4.1.118.Final under org.apache.spark:spark-sql_2.13 4.0.1. java/pom.xml declares Spark with provided scope and optional true, so it is never packaged, never copied to target/lib and never passed to a consumer. mvn -f java/pom.xml dependency:tree lists it as provided (optional). No Python wheel contains Java code, and the Java library is not published anywhere." + +[[oss.allowlist]] +cve-id = "BDSA-2026-23581" +package = "Netty Project" +versions = ["4.1.118"] +jira = "NO-REF" +exception_status = "open" +exception_expiration = 2027-05-12 +comment = "Comes from io.netty 4.1.118.Final under org.apache.spark:spark-sql_2.13 4.0.1. java/pom.xml declares Spark with provided scope and optional true, so it is never packaged, never copied to target/lib and never passed to a consumer. mvn -f java/pom.xml dependency:tree lists it as provided (optional). No Python wheel contains Java code, and the Java library is not published anywhere." + +[[oss.allowlist]] +cve-id = "BDSA-2026-29111" +package = "Netty Project" +versions = ["4.1.118"] +jira = "NO-REF" +exception_status = "open" +exception_expiration = 2027-05-12 +comment = "Comes from io.netty 4.1.118.Final under org.apache.spark:spark-sql_2.13 4.0.1. java/pom.xml declares Spark with provided scope and optional true, so it is never packaged, never copied to target/lib and never passed to a consumer. mvn -f java/pom.xml dependency:tree lists it as provided (optional). No Python wheel contains Java code, and the Java library is not published anywhere." + +[[oss.allowlist]] +cve-id = "BDSA-2026-33768" +package = "Netty Project" +versions = ["4.1.118"] +jira = "NO-REF" +exception_status = "open" +exception_expiration = 2027-05-12 +comment = "Comes from io.netty 4.1.118.Final under org.apache.spark:spark-sql_2.13 4.0.1. java/pom.xml declares Spark with provided scope and optional true, so it is never packaged, never copied to target/lib and never passed to a consumer. mvn -f java/pom.xml dependency:tree lists it as provided (optional). No Python wheel contains Java code, and the Java library is not published anywhere." + +[[oss.allowlist]] +cve-id = "BDSA-2026-33790" +package = "Netty Project" +versions = ["4.1.118"] +jira = "NO-REF" +exception_status = "open" +exception_expiration = 2027-05-12 +comment = "Comes from io.netty 4.1.118.Final under org.apache.spark:spark-sql_2.13 4.0.1. java/pom.xml declares Spark with provided scope and optional true, so it is never packaged, never copied to target/lib and never passed to a consumer. mvn -f java/pom.xml dependency:tree lists it as provided (optional). No Python wheel contains Java code, and the Java library is not published anywhere." + +[[oss.allowlist]] +cve-id = "BDSA-2026-9430" +package = "Netty Project" +versions = ["4.1.118"] +jira = "NO-REF" +exception_status = "open" +exception_expiration = 2027-05-12 +comment = "Comes from io.netty 4.1.118.Final under org.apache.spark:spark-sql_2.13 4.0.1. java/pom.xml declares Spark with provided scope and optional true, so it is never packaged, never copied to target/lib and never passed to a consumer. mvn -f java/pom.xml dependency:tree lists it as provided (optional). No Python wheel contains Java code, and the Java library is not published anywhere." + +[[oss.allowlist]] +cve-id = "BDSA-2026-9433" +package = "Netty Project" +versions = ["4.1.118"] +jira = "NO-REF" +exception_status = "open" +exception_expiration = 2027-05-12 +comment = "Comes from io.netty 4.1.118.Final under org.apache.spark:spark-sql_2.13 4.0.1. java/pom.xml declares Spark with provided scope and optional true, so it is never packaged, never copied to target/lib and never passed to a consumer. mvn -f java/pom.xml dependency:tree lists it as provided (optional). No Python wheel contains Java code, and the Java library is not published anywhere." + +[[oss.allowlist]] +cve-id = "BDSA-2025-12456" +package = "Apache ZooKeeper" +versions = ["3.9.3"] +jira = "NO-REF" +exception_status = "open" +exception_expiration = 2027-05-12 +comment = "Comes from org.apache.zookeeper:zookeeper 3.9.3 under org.apache.spark:spark-sql_2.13 4.0.1. java/pom.xml declares Spark with provided scope and optional true, so it is never packaged, never copied to target/lib and never passed to a consumer. mvn -f java/pom.xml dependency:tree lists it as provided (optional). No Python wheel contains Java code, and the Java library is not published anywhere." + +[[oss.allowlist]] +cve-id = "BDSA-2026-3557" +package = "Apache ZooKeeper" +versions = ["3.9.3"] +jira = "NO-REF" +exception_status = "open" +exception_expiration = 2027-05-12 +comment = "Comes from org.apache.zookeeper:zookeeper 3.9.3 under org.apache.spark:spark-sql_2.13 4.0.1. java/pom.xml declares Spark with provided scope and optional true, so it is never packaged, never copied to target/lib and never passed to a consumer. mvn -f java/pom.xml dependency:tree lists it as provided (optional). No Python wheel contains Java code, and the Java library is not published anywhere." + +[[oss.allowlist]] +cve-id = "BDSA-2025-28525" +package = "Jersey" +versions = ["3.0.16"] +jira = "NO-REF" +exception_status = "open" +exception_expiration = 2027-05-12 +comment = "Comes from org.glassfish.jersey 3.0.16 under org.apache.spark:spark-sql_2.13 4.0.1. java/pom.xml declares Spark with provided scope and optional true, so it is never packaged, never copied to target/lib and never passed to a consumer. mvn -f java/pom.xml dependency:tree lists it as provided (optional). No Python wheel contains Java code, and the Java library is not published anywhere." + +[[oss.allowlist]] +cve-id = "BDSA-2026-2029" +package = "Apache Avro" +versions = ["1.12.0"] +jira = "NO-REF" +exception_status = "open" +exception_expiration = 2027-05-12 +comment = "Comes from org.apache.avro:avro 1.12.0 under org.apache.spark:spark-sql_2.13 4.0.1. java/pom.xml declares Spark with provided scope and optional true, so it is never packaged, never copied to target/lib and never passed to a consumer. mvn -f java/pom.xml dependency:tree lists it as provided (optional). No Python wheel contains Java code, and the Java library is not published anywhere." + +[[oss.allowlist]] +cve-id = "CVE-2025-5222" +package = "ICU4J" +versions = ["76.1"] +jira = "NO-REF" +exception_status = "open" +exception_expiration = 2027-05-12 +comment = "Comes from com.ibm.icu:icu4j 76.1 under org.apache.spark:spark-sql_2.13 4.0.1. java/pom.xml declares Spark with provided scope and optional true, so it is never packaged, never copied to target/lib and never passed to a consumer. mvn -f java/pom.xml dependency:tree lists it as provided (optional). No Python wheel contains Java code, and the Java library is not published anywhere." + +[[oss.allowlist]] +cve-id = "CVE-2026-106451" +package = "lz4java" +versions = ["1.8.0"] +jira = "NO-REF" +exception_status = "open" +exception_expiration = 2027-05-12 +comment = "Comes from org.lz4:lz4-java 1.8.0 under org.apache.spark:spark-sql_2.13 4.0.1. java/pom.xml declares Spark with provided scope and optional true, so it is never packaged, never copied to target/lib and never passed to a consumer. mvn -f java/pom.xml dependency:tree lists it as provided (optional). No Python wheel contains Java code, and the Java library is not published anywhere." + +[[oss.allowlist]] +cve-id = "CVE-2026-34481" +package = "Apache Log4j Layout for JSON template" +versions = ["2.24.3"] +jira = "NO-REF" +exception_status = "open" +exception_expiration = 2027-05-12 +comment = "Comes from org.apache.logging.log4j:log4j-layout-template-json 2.24.3 under org.apache.spark:spark-sql_2.13 4.0.1. java/pom.xml declares Spark with provided scope and optional true, so it is never packaged, never copied to target/lib and never passed to a consumer. mvn -f java/pom.xml dependency:tree lists it as provided (optional). No Python wheel contains Java code, and the Java library is not published anywhere." From c79747f014bfc9dd45666cddd5da858ef921390f Mon Sep 17 00:00:00 2001 From: Manush Murali Date: Thu, 12 Nov 2026 11:56:20 -0800 Subject: [PATCH 2/2] Pin Jackson 2.22.4 and Commons Codec 1.22.1 in the Java build Spark is declared before databricks-sdk-java, so its Jackson 2.18.2 won mediation and resolved at compile scope. commons-compress brought Commons Codec 1.19.0 at compile scope. Both reached target/lib and the CI JAR artifact. The scan reports BDSA-2026-16110, -16111 and -30990 against jackson-databind 2.18.2 and BDSA-2026-39919 against Commons Codec 1.19.0. The Jackson BOM keeps databind, core, annotations, the datatype modules and Spark's Scala module on one version. 2.22.4 and 1.22.1 are the lowest fixed versions the scan names. Co-Authored-By: Claude Opus 5.5 Signed-off-by: Manush Murali --- java/pom.xml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/java/pom.xml b/java/pom.xml index 002c9ac61..0fad9d569 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -68,6 +68,25 @@ --enable-native-access=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED + + + + + com.fasterxml.jackson + jackson-bom + 2.22.4 + pom + import + + + commons-codec + commons-codec + 1.22.1 + + + +