Pradiksha created SPARK-61974:
---------------------------------

             Summary: Shaded Jetty in spark-core 4.1.2 flagged for [2026-2332, 
2026-10050] (NVD 9.1); looking for a workaround while Iceberg/Nessie support is 
limited to Spark 4.1.x
                 Key: SPARK-61974
                 URL: https://issues.apache.org/jira/browse/SPARK-61974
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
    Affects Versions: 4.1.2
         Environment: * Spark 4.1.2
 * Deployment: Kubernetes (no Hadoop cluster)
 * Libraries: iceberg-spark-runtime, nessie-spark-extensions
            Reporter: Pradiksha


_Problem_

Vulnerability scans of our Spark 4.1.2 Iceberg table maintenance job on 
Kubernetes report a high-severity finding (NVD 9.1, [2026-2332, 2026-10050]) in 
Jetty. The affected Jetty is shaded into these JARs, not shipped as a 
standalone dependency:
 * *spark-core:* shaded Jetty 11.0.26. The fix is in 11.0.29.
 * *hadoop-client-runtime:* shaded Jetty 9.4.57. The fix is in 9.4.60.

Because the Jetty classes are relocated into these JARs, we can't override or 
replace the vulnerable version ourselves.

_What we tried_
 # *Re-shading a patched Jetty into spark-core and hadoop-client-runtime.* No 
released spark-core includes Jetty 11.0.29 or later, and no 
hadoop-client-runtime includes Jetty 9.4.60 or later. Jetty 12.0.40 contains 
the public fix, but its API signatures differ from what spark-core expects, so 
we can't use it as a drop-in replacement.
 # *Upgrading to Spark 4.2.1.* We can't move to it yet. iceberg-spark-runtime 
and nessie-spark-extensions are only published for Spark up to 4.1.2, so 4.1.2 
is the newest version our workload can run on.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to