Just be super clear to others: the place for security conversations is ONLY [email protected] and maybe [email protected] once an issue has been notified to the security folks.
Since we've moved beyond the security question and now it's just about if we should upgrade Netty: As for upgrading Netty in Spark 4.4, I think that would be up to the Spark 4.4 RM, they haven't cut an RC yet so I think it could make sense for the bug fixes etc. On Wed, Nov 25, 2026 at 1:03 AM Anoopam Sharma <[email protected]> wrote: > Thanks for the guidance. > > > > One concrete case that may fit the patch-version criterion is Netty. > branch-4.x and branch-4.4 pin 4.2.13.Final, while master has moved through > 4.2.17, 4.2.18 (SPARK-59422), 4.2.19 and 4.2.20 (SPARK-60996), all within > the 4.2 line. A bump to 4.2.18.Final on branch-4.x (and 4.4, if you'd > take it during QA) would be a patch-level change: the version property > plus the dependency manifest, with netty-tcnative either left alone or > moved together. It would also clear the Netty advisories that scanners > report against 4.2.13. > > > > I'm happy to prepare the PR if you'd consider it, and to run the network > and shuffle test suites on the branch. If you'd rather not take it on a > feature branch, I understand. > > > > > > *From:* Holden Karau <[email protected]> > *Sent:* 25 November 2026 12:43 > *To:* [email protected] > *Cc:* Anoopam Sharma <[email protected]> > *Subject:* Re: Backporting security-driven dependency upgrades to > branch-4.x / branch-4.4: committer-driven, or can contributors open the PRs? > > > > If you've got a real path to exploit or even just a plausible one for any > issue please email [email protected] as outlined in > > https://spark.apache.org/security.html > > > > If it's just something which triggers a scan we don't generally bump old > versions unless there is a possibility of exploit or it's a patch version > and we think the risk of an upgrade is very low. > > Twitter: https://twitter.com/holdenkarau > > Fight Health Insurance: https://www.fighthealthinsurance.com/ > <https://www.fighthealthinsurance.com/?q=hk_email> > > Books (Learning Spark, High Performance Spark, etc.): > https://amzn.to/2MaRAG9 <https://amzn.to/2MaRAG9> > > YouTube Live Streams: https://www.youtube.com/user/holdenkarau > > Pronouns: she/her > > > > On Tue, Nov 24, 2026 at 9:13 PM Anoopam Sharma via dev < > [email protected]> wrote: > > 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 > > > > -- Twitter: https://twitter.com/holdenkarau Fight Health Insurance: https://www.fighthealthinsurance.com/ <https://www.fighthealthinsurance.com/?q=hk_email> Books (Learning Spark, High Performance Spark, etc.): https://amzn.to/2MaRAG9 <https://amzn.to/2MaRAG9> YouTube Live Streams: https://www.youtube.com/user/holdenkarau Pronouns: she/her
