Uh oh!
There was an error while loading. Please reload this page.
[SPARK-58134][BUILD] Upgrade janino to 3.1.12 - #57266
Conversation
LuciferYang
commented
Jul 15, 2026
cc @cloud-fan |
cloud-fan
commented
Jul 15, 2026
do we have a summary of the release notes between 3.1.9 and 3.1.12? janino is a sensitive and critical dependency to Spark SQL |
Yes. Janino provides an official change log covering versions 3.1.10 through 3.1.12. |
cloud-fan
commented
Jul 16, 2026
cc @dongjoon-hyun , how far shall we backport? It claims to fix a CVE. |
dongjoon-hyun
commented
Jul 16, 2026
I'm not sure that we need this (as an exception) in old branches. I'd prefer to put this on Spark 5 only according to our recent policy, @cloud-fan . Netty has a ton of CVEs, but we didn't backport at all. |
LuciferYang
commented
Aug 13, 2026
@zml1206 Please rebase the code. I will merge this PR once the CI passes again. |
zml1206
commented
Aug 13, 2026
Rebased and CI passed. @LuciferYang |
LuciferYang
commented
Aug 13, 2026
Merge Summary:
Posted by |
LuciferYang
commented
Aug 13, 2026
Thank you @zml1206 and all |
What changes were proposed in this pull request?
This pr upgrade janino from 3.1.9 to 3.1.12.
Why are the changes needed?
Janino 3.1.9 and earlier are affected by CVE-2023-33546, a disputed DoS issue where deeply nested user-supplied input can trigger a
StackOverflowErrorin Janino parser APIs such asExpressionEvaluator.guessParameterNames. Although Spark SQL codegen uses Janino throughClassBodyEvaluatorrather than that specific API, upgrading removes the vulnerable dependency version reported by dependency scanners and picks up Janino's parser/codegen robustness fixes.Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass the CIs.
Was this patch authored or co-authored using generative AI tooling?
No.