Skip to content

Commit 3b334bd

Browse files
tomncooperafedulov
authored andcommitted
[FLINK-33571][table] Upgrade json-path from 2.7.0 to 2.9.0
Signed-off-by: Thomas Cooper <[email protected]>
1 parent ff4243a commit 3b334bd

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

flink-table/flink-table-calcite-bridge/pom.xml

+12
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,21 @@ under the License.
152152
<groupId>org.locationtech.proj4j</groupId>
153153
<artifactId>proj4j</artifactId>
154154
</exclusion>
155+
<!-- Exclude json-path as we are manually overriding it to a newer version -->
156+
<exclusion>
157+
<groupId>com.jayway.jsonpath</groupId>
158+
<artifactId>json-path</artifactId>
159+
</exclusion>
155160
</exclusions>
156161
</dependency>
157162

163+
<!-- Override the json-path version used by Calcite 1.32 to deal with CVE-2023-1370 -->
164+
<dependency>
165+
<groupId>com.jayway.jsonpath</groupId>
166+
<artifactId>json-path</artifactId>
167+
<version>${jsonpath.version}</version>
168+
</dependency>
169+
158170
<dependency>
159171
<groupId>org.apache.flink</groupId>
160172
<artifactId>flink-annotations</artifactId>

flink-table/flink-table-runtime/src/main/resources/META-INF/NOTICE

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ The Apache Software Foundation (http://www.apache.org/).
66

77
This project bundles the following dependencies under the Apache Software License 2.0. (http://www.apache.org/licenses/LICENSE-2.0.txt)
88

9-
- com.jayway.jsonpath:json-path:2.7.0
9+
- com.jayway.jsonpath:json-path:2.9.0
1010
- org.codehaus.janino:janino:3.1.10
1111
- org.codehaus.janino:commons-compiler:3.1.10

flink-table/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ under the License.
8383
at the same time minimum 3.1.x Janino version passing Flink tests without WAs is 3.1.10,
8484
more details are in FLINK-27995 -->
8585
<janino.version>3.1.10</janino.version>
86-
<jsonpath.version>2.7.0</jsonpath.version>
86+
<jsonpath.version>2.9.0</jsonpath.version>
8787
<guava.version>32.1.3-jre</guava.version>
8888
</properties>
8989
</project>

0 commit comments

Comments
 (0)