Skip to content

Bump json-smart version to 2.5.2 #265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .azure/templates/jobs/deploy_java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
# Strategy for the job => we deploy the artifacts only from Java 11
strategy:
matrix:
'java-11':
'java-17':
image: 'Ubuntu-22.04'
jdk_version: '17'
main_build: 'true'
Expand Down
14 changes: 14 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Release Notes
=============

0.16.1
------

### Override json-smart version to 2.5.2 to address CVE-2024-57699 warnings

`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
Once the new version of JsonPath is released, with the fixed dependency, we can remove the override.

0.16.0
------

Expand All @@ -19,6 +27,12 @@ All the components are built with Java 11 bytecode compatibility except `kafka-o
Since Zookeeper mode is no longer supported, the ACL authorizer delegation only works if the Kafka node runs in KRaft mode.
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.

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.

### Added a test and a fix for 'Overflow parsing timestamps in oauth JWTs as 32 bit int'

See [#260](https://github.com/strimzi/strimzi-kafka-oauth/issues/260)

0.15.0
------

Expand Down
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@
<jackson.version>2.15.3</jackson.version>
<jackson.databind.version>2.15.3</jackson.databind.version>
<jsonpath.version>2.9.0</jsonpath.version>
<jsonsmart.version>2.5.2</jsonsmart.version>
<junit.version>4.13.2</junit.version>
<slf4j.version>1.7.36</slf4j.version>
<mockito.version>3.12.4</mockito.version>
Expand Down Expand Up @@ -208,6 +209,12 @@
<artifactId>json-path</artifactId>
<version>${jsonpath.version}</version>
</dependency>
<!-- Transitive override to address CVE-2024-57699. Remove in the future. -->
<dependency>
<groupId>net.minidev</groupId>
<artifactId>json-smart</artifactId>
<version>${jsonsmart.version}</version>
</dependency>
<dependency>
<groupId>com.nimbusds</groupId>
<artifactId>nimbus-jose-jwt</artifactId>
Expand Down
Loading