Skip to content

Commit 4dd46a5

Browse files
authored
fix CVEs in typescript and java client subtrees (#1324)
fixes Dependabot alerts in two subtrees. all vulns are dev-scope dependencies.
1 parent f4d97b3 commit 4dd46a5

3 files changed

Lines changed: 23 additions & 13 deletions

File tree

build.savant

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
*/
1616

1717
fusionauthJWTVersion = "5.2.4"
18-
jacksonVersion = "2.15.4"
18+
jacksonVersion = "2.21.1"
19+
jacksonAnnotationsVersion = "2.21" // No 2.21.1 version available, annotations dropped patch versioning in 2.20+
1920
jackson5Version = "3.0.1"
2021
javaErrorVersion = "2.2.3"
2122
restifyVersion = "4.3.0"
@@ -39,11 +40,13 @@ project(group: "io.fusionauth", name: "fusionauth-java-client", version: "1.64.0
3940

4041
dependencies {
4142
group(name: "compile") {
42-
dependency(id: "com.fasterxml.jackson.core:jackson-annotations:${jacksonVersion}")
43+
dependency(id: "com.fasterxml.jackson.core:jackson-annotations:${jacksonAnnotationsVersion}")
4344
dependency(id: "com.fasterxml.jackson.core:jackson-core:${jacksonVersion}")
4445
dependency(id: "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}")
4546
dependency(id: "com.inversoft:jackson5:${jackson5Version}")
46-
dependency(id: "com.inversoft:java-error:${javaErrorVersion}")
47+
dependency(id: "com.inversoft:java-error:${javaErrorVersion}") {
48+
exclusion(id: "com.inversoft:jackson5")
49+
}
4750
dependency(id: "com.inversoft:restify:${restifyVersion}")
4851
dependency(id: "io.fusionauth:fusionauth-jwt:${fusionauthJWTVersion}")
4952
}

fusionauth-java-client.iml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,33 +65,33 @@
6565
<orderEntry type="module-library">
6666
<library>
6767
<CLASSES>
68-
<root url="jar://$MODULE_DIR$/.savant/cache/com/fasterxml/jackson/core/jackson-databind/2.15.4/jackson-databind-2.15.4.jar!/" />
68+
<root url="jar://$MODULE_DIR$/.savant/cache/com/fasterxml/jackson/core/jackson-databind/2.21.1/jackson-databind-2.21.1.jar!/" />
6969
</CLASSES>
7070
<JAVADOC />
7171
<SOURCES>
72-
<root url="jar://$MODULE_DIR$/.savant/cache/com/fasterxml/jackson/core/jackson-databind/2.15.4/jackson-databind-2.15.4-src.jar!/" />
72+
<root url="jar://$MODULE_DIR$/.savant/cache/com/fasterxml/jackson/core/jackson-databind/2.21.1/jackson-databind-2.21.1-src.jar!/" />
7373
</SOURCES>
7474
</library>
7575
</orderEntry>
7676
<orderEntry type="module-library">
7777
<library>
7878
<CLASSES>
79-
<root url="jar://$MODULE_DIR$/.savant/cache/com/fasterxml/jackson/core/jackson-annotations/2.15.4/jackson-annotations-2.15.4.jar!/" />
79+
<root url="jar://$MODULE_DIR$/.savant/cache/com/fasterxml/jackson/core/jackson-annotations/2.21.0/jackson-annotations-2.21.0.jar!/" />
8080
</CLASSES>
8181
<JAVADOC />
8282
<SOURCES>
83-
<root url="jar://$MODULE_DIR$/.savant/cache/com/fasterxml/jackson/core/jackson-annotations/2.15.4/jackson-annotations-2.15.4-src.jar!/" />
83+
<root url="jar://$MODULE_DIR$/.savant/cache/com/fasterxml/jackson/core/jackson-annotations/2.21.0/jackson-annotations-2.21.0-src.jar!/" />
8484
</SOURCES>
8585
</library>
8686
</orderEntry>
8787
<orderEntry type="module-library">
8888
<library>
8989
<CLASSES>
90-
<root url="jar://$MODULE_DIR$/.savant/cache/com/fasterxml/jackson/core/jackson-core/2.15.4/jackson-core-2.15.4.jar!/" />
90+
<root url="jar://$MODULE_DIR$/.savant/cache/com/fasterxml/jackson/core/jackson-core/2.21.1/jackson-core-2.21.1.jar!/" />
9191
</CLASSES>
9292
<JAVADOC />
9393
<SOURCES>
94-
<root url="jar://$MODULE_DIR$/.savant/cache/com/fasterxml/jackson/core/jackson-core/2.15.4/jackson-core-2.15.4-src.jar!/" />
94+
<root url="jar://$MODULE_DIR$/.savant/cache/com/fasterxml/jackson/core/jackson-core/2.21.1/jackson-core-2.21.1-src.jar!/" />
9595
</SOURCES>
9696
</library>
9797
</orderEntry>
@@ -140,4 +140,5 @@
140140
</library>
141141
</orderEntry>
142142
</component>
143-
</module>
143+
</module>
144+

pom.xml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,23 +76,23 @@
7676
<dependency>
7777
<groupId>com.fasterxml.jackson.core</groupId>
7878
<artifactId>jackson-annotations</artifactId>
79-
<version>2.15.4</version>
79+
<version>2.21.0</version>
8080
<type>jar</type>
8181
<scope>compile</scope>
8282
<optional>false</optional>
8383
</dependency>
8484
<dependency>
8585
<groupId>com.fasterxml.jackson.core</groupId>
8686
<artifactId>jackson-core</artifactId>
87-
<version>2.15.4</version>
87+
<version>2.21.1</version>
8888
<type>jar</type>
8989
<scope>compile</scope>
9090
<optional>false</optional>
9191
</dependency>
9292
<dependency>
9393
<groupId>com.fasterxml.jackson.core</groupId>
9494
<artifactId>jackson-databind</artifactId>
95-
<version>2.15.4</version>
95+
<version>2.21.1</version>
9696
<type>jar</type>
9797
<scope>compile</scope>
9898
<optional>false</optional>
@@ -112,6 +112,12 @@
112112
<type>jar</type>
113113
<scope>compile</scope>
114114
<optional>false</optional>
115+
<exclusions>
116+
<exclusion>
117+
<groupId>com.inversoft</groupId>
118+
<artifactId>jackson5</artifactId>
119+
</exclusion>
120+
</exclusions>
115121
</dependency>
116122
<dependency>
117123
<groupId>com.inversoft</groupId>

0 commit comments

Comments
 (0)