Hi all,

We scan the Spark 4.3.0 binary for third-party CVEs. branch-4.x and branch-4.4 
still pin the same versions as v4.3.0, while master has newer ones,
for example Netty 4.2.13.Final → 4.2.20.Final (SPARK-60996) and Jackson 2.21.2 
→ 2.22.4 (SPARK-60799). The scanner reports about 50 Netty CVEs
and 7 Jackson CVEs against the 4.3.0 versions (not triaged for exploitability). 
Several need fixed releases newer than what branch-4.x ships, for
example Netty 4.2.18 or later and Jackson 2.21.5.

I understand the versioning policy allows dependency upgrades on feature 
branches when required for security. Before doing any work, I would like
to ask:

1. Are these upgrades considered eligible under that security exception, for 
branch-4.4 (QA until Dec 6) and/or branch-4.x (the planned 4.x LTS)?
2. If so, are such backports normally done by committers when they merge to 
master, or would you welcome a contributor opening the backport PR? I
would be happy to do that work myself.
3. If a contributor can do it: what is the expected process? My plan would be:
   - one JIRA per dependency, stating the CVEs;
   - a cherry-pick of the existing master commit onto branch-4.x;
   - a PR titled [SPARK-xxxxx][4.X][BUILD] Upgrade … against branch-4.x, 
regenerating dev/deps/spark-deps-hadoop-3-hive-2.3;
   - a request for a committer to set the target version.

  Is that the right approach, or do you prefer another?

Happy to share the per-component list if useful.

Thanks,
Anoopam Sharma

Reply via email to