Skip to content

Commit ebd6a69

Browse files
zml1206LuciferYang
authored andcommitted
[SPARK-58134][BUILD] Upgrade janino to 3.1.12
### 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](https://nvd.nist.gov/vuln/detail/cve-2023-33546), a disputed DoS issue where deeply nested user-supplied input can trigger a `StackOverflowError` in Janino parser APIs such as `ExpressionEvaluator.guessParameterNames`. Although Spark SQL codegen uses Janino through `ClassBodyEvaluator` rather 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. Closes #57266 from zml1206/SPARK-58134. Authored-by: Mingliang Zhu <zhuml1206@gmail.com> Signed-off-by: yangjie01 <yangjie01@baidu.com>
1 parent ed16a7e commit ebd6a69

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

dev/deps/spark-deps-hadoop-3-hive-2.3

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ chill_2.13/0.10.0//chill_2.13-0.10.0.jar
4444
commons-cli/1.11.0//commons-cli-1.11.0.jar
4545
commons-codec/1.22.0//commons-codec-1.22.0.jar
4646
commons-collections4/4.5.0//commons-collections4-4.5.0.jar
47-
commons-compiler/3.1.9//commons-compiler-3.1.9.jar
47+
commons-compiler/3.1.12//commons-compiler-3.1.12.jar
4848
commons-compress/1.28.0//commons-compress-1.28.0.jar
4949
commons-crypto/1.1.0//commons-crypto-1.1.0.jar
5050
commons-dbcp/1.4//commons-dbcp-1.4.jar
@@ -119,7 +119,7 @@ jakarta.servlet-api/6.0.0//jakarta.servlet-api-6.0.0.jar
119119
jakarta.validation-api/3.0.2//jakarta.validation-api-3.0.2.jar
120120
jakarta.ws.rs-api/3.1.0//jakarta.ws.rs-api-3.1.0.jar
121121
jakarta.xml.bind-api/4.0.5//jakarta.xml.bind-api-4.0.5.jar
122-
janino/3.1.9//janino-3.1.9.jar
122+
janino/3.1.12//janino-3.1.12.jar
123123
java-diff-utils/4.16//java-diff-utils-4.16.jar
124124
java-trace-api/0.2.11-beta//java-trace-api-0.2.11-beta.jar
125125
javassist/3.30.2-GA//javassist-3.30.2-GA.jar

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@
202202
<guava.version>33.6.0-jre</guava.version>
203203
<guava.failureaccess.version>1.0.3</guava.failureaccess.version>
204204
<gson.version>2.14.0</gson.version>
205-
<janino.version>3.1.9</janino.version>
205+
<janino.version>3.1.12</janino.version>
206206
<jersey.version>3.1.11</jersey.version>
207207
<joda.version>2.14.3</joda.version>
208208
<jsr305.version>3.0.0</jsr305.version>

0 commit comments

Comments
 (0)