Skip to content

Commit 91e1396

Browse files
authored
fix: JSON-java CVE-2022-45688 (#74)
1 parent 0636901 commit 91e1396

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ java-cosmos is a client for Azure CosmosDB 's SQL API (also called documentdb fo
2323
<dependency>
2424
<groupId>com.github.thunderz99</groupId>
2525
<artifactId>java-cosmos</artifactId>
26-
<version>0.5.19</version>
26+
<version>0.5.20</version>
2727
</dependency>
2828
```
2929

pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.github.thunderz99</groupId>
55
<artifactId>java-cosmos</artifactId>
66
<packaging>jar</packaging>
7-
<version>0.5.19</version>
7+
<version>0.5.20</version>
88
<name>${project.groupId}:${project.artifactId}$</name>
99
<description>A lightweight Azure CosmosDB client for Java</description>
1010
<url>https://github.com/thunderz99/java-cosmos</url>
@@ -68,6 +68,13 @@
6868
<version>4.4</version>
6969
</dependency>
7070

71+
<!-- https://mvnrepository.com/artifact/org.json/json -->
72+
<dependency>
73+
<groupId>org.json</groupId>
74+
<artifactId>json</artifactId>
75+
<version>20230227</version>
76+
</dependency>
77+
7178
<!-- https://mvnrepository.com/artifact/com.microsoft.azure/azure-documentdb -->
7279
<dependency>
7380
<groupId>com.microsoft.azure</groupId>
@@ -86,6 +93,11 @@
8693
<groupId>com.fasterxml.jackson.core</groupId>
8794
<artifactId>jackson-core</artifactId>
8895
</exclusion>
96+
<exclusion>
97+
<groupId>org.json</groupId>
98+
<artifactId>json</artifactId>
99+
</exclusion>
100+
89101
</exclusions>
90102
</dependency>
91103

0 commit comments

Comments
 (0)