Skip to content

Commit 12c393c

Browse files
authored
Bump json-smart version to 2.5.2 (#265)
Signed-off-by: Marko Strukelj <[email protected]>
1 parent 786412d commit 12c393c

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

.azure/templates/jobs/deploy_java.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
# Strategy for the job => we deploy the artifacts only from Java 11
55
strategy:
66
matrix:
7-
'java-11':
7+
'java-17':
88
image: 'Ubuntu-22.04'
99
jdk_version: '17'
1010
main_build: 'true'

RELEASE_NOTES.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
Release Notes
22
=============
33

4+
0.16.1
5+
------
6+
7+
### Override json-smart version to 2.5.2 to address CVE-2024-57699 warnings
8+
9+
`net.minidev:json-smart` is a transitive dependency pulled in by `com.jayway.jsonpath:json-path`. There is a PR open at JsonPath project https://github.com/json-path/JsonPath/pull/1030
10+
Once the new version of JsonPath is released, with the fixed dependency, we can remove the override.
11+
412
0.16.0
513
------
614

@@ -19,6 +27,12 @@ All the components are built with Java 11 bytecode compatibility except `kafka-o
1927
Since Zookeeper mode is no longer supported, the ACL authorizer delegation only works if the Kafka node runs in KRaft mode.
2028
If `KeycloakAuthorizer` is deployed to Kafka running in Zookeeper mode, and `strimzi.authorization.delegate.to.kafka.acl` is set to `true`, the broker will fail to start.
2129

30+
Kafka 4.x users should upgrade to this OAuth version (0.16.0). Kafka 3.x users can also use this OAuth version in both Kraft or Zookeeper mode, but if they use `KeycloakAuthorizer` with ACL delegation, that will not work in Zookeeper mode.
31+
32+
### Added a test and a fix for 'Overflow parsing timestamps in oauth JWTs as 32 bit int'
33+
34+
See [#260](https://github.com/strimzi/strimzi-kafka-oauth/issues/260)
35+
2236
0.15.0
2337
------
2438

pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@
114114
<jackson.version>2.15.3</jackson.version>
115115
<jackson.databind.version>2.15.3</jackson.databind.version>
116116
<jsonpath.version>2.9.0</jsonpath.version>
117+
<jsonsmart.version>2.5.2</jsonsmart.version>
117118
<junit.version>4.13.2</junit.version>
118119
<slf4j.version>1.7.36</slf4j.version>
119120
<mockito.version>3.12.4</mockito.version>
@@ -208,6 +209,12 @@
208209
<artifactId>json-path</artifactId>
209210
<version>${jsonpath.version}</version>
210211
</dependency>
212+
<!-- Transitive override to address CVE-2024-57699. Remove in the future. -->
213+
<dependency>
214+
<groupId>net.minidev</groupId>
215+
<artifactId>json-smart</artifactId>
216+
<version>${jsonsmart.version}</version>
217+
</dependency>
211218
<dependency>
212219
<groupId>com.nimbusds</groupId>
213220
<artifactId>nimbus-jose-jwt</artifactId>

0 commit comments

Comments
 (0)