Skip to content

Commit a3a58f9

Browse files
authored
Properly fix version of json-smart transitive dependency for third parties (#266)
Signed-off-by: Marko Strukelj <[email protected]>
1 parent 12c393c commit a3a58f9

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

RELEASE_NOTES.md

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

4+
0.16.2
5+
------
6+
7+
### Properly override json-smart version to 2.5.2 to address CVE-2024-57699 warnings
8+
9+
The version override in 0.16.1 was inadequate. It didn't work for third party components using the OAuth components. They would still transitively bring in `net.minidev:json-smart` version 2.5.0.
10+
411
0.16.1
512
------
613

oauth-common/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@
3535
</exclusion>
3636
</exclusions>
3737
</dependency>
38+
<!-- Transitive override to address CVE-2024-57699. Remove in the future. -->
39+
<dependency>
40+
<groupId>net.minidev</groupId>
41+
<artifactId>json-smart</artifactId>
42+
</dependency>
3843
<dependency>
3944
<groupId>org.apache.kafka</groupId>
4045
<artifactId>kafka-clients</artifactId>

pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,8 @@
290290
<failOnWarning>true</failOnWarning>
291291
<ignoredUnusedDeclaredDependencies>
292292
<ignoredUnusedDeclaredDependency>org.slf4j:slf4j-simple:jar</ignoredUnusedDeclaredDependency>
293+
<!-- Added due to transitive override to address CVE-2024-57699. Remove in the future. -->
294+
<ignoredUnusedDeclaredDependency>net.minidev:json-smart:jar</ignoredUnusedDeclaredDependency>
293295
</ignoredUnusedDeclaredDependencies>
294296
</configuration>
295297
</execution>

0 commit comments

Comments
 (0)