Skip to content

Commit 18d3385

Browse files
committed
Bump Jackson version to address security vulnerability CVE-2018-7489
1 parent 11e1280 commit 18d3385

File tree

4 files changed

+40
-4
lines changed
  • aws-serverless-java-container-core
  • aws-serverless-java-container-jersey
  • aws-serverless-java-container-spring
  • samples/jersey/pet-store

4 files changed

+40
-4
lines changed

aws-serverless-java-container-core/pom.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</parent>
1717

1818
<properties>
19-
<jackson.version>2.9.5</jackson.version>
19+
<jackson.version>2.9.7</jackson.version>
2020
<jaxrs.version>2.1</jaxrs.version>
2121
<servlet.version>3.1.0</servlet.version>
2222
</properties>
@@ -50,6 +50,14 @@
5050
<version>${jackson.version}</version>
5151
</dependency>
5252

53+
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.module/jackson-module-afterburner -->
54+
<dependency>
55+
<groupId>com.fasterxml.jackson.module</groupId>
56+
<artifactId>jackson-module-afterburner</artifactId>
57+
<version>${jackson.version}</version>
58+
</dependency>
59+
60+
5361
<!-- https://mvnrepository.com/artifact/commons-fileupload/commons-fileupload -->
5462
<dependency>
5563
<groupId>commons-fileupload</groupId>

aws-serverless-java-container-jersey/pom.xml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-annotations -->
6060
<dependency>
6161
<groupId>com.fasterxml.jackson.core</groupId>
62-
<artifactId>jackson-annotations</artifactId>
63-
<version>2.9.5</version>
62+
<artifactId>jackson-databind</artifactId>
63+
<version>2.9.7</version>
6464
<optional>true</optional>
6565
<scope>test</scope>
6666
</dependency>
@@ -77,6 +77,14 @@
7777
<groupId>com.fasterxml.jackson.core</groupId>
7878
<artifactId>jackson-annotations</artifactId>
7979
</exclusion>
80+
<exclusion>
81+
<groupId>com.fasterxml.jackson.core</groupId>
82+
<artifactId>jackson-databind</artifactId>
83+
</exclusion>
84+
<exclusion>
85+
<groupId>com.fasterxml.jackson.core</groupId>
86+
<artifactId>jackson-core</artifactId>
87+
</exclusion>
8088
</exclusions>
8189
</dependency>
8290

aws-serverless-java-container-spring/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<properties>
1919
<spring.version>5.0.7.RELEASE</spring.version>
2020
<spring-security.version>5.0.1.RELEASE</spring-security.version>
21-
<jackson.version>2.9.5</jackson.version>
21+
<jackson.version>2.9.7</jackson.version>
2222
</properties>
2323

2424
<dependencies>

samples/jersey/pet-store/pom.xml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,20 @@
4646
<groupId>org.glassfish.jersey.media</groupId>
4747
<artifactId>jersey-media-json-jackson</artifactId>
4848
<version>${jersey.version}</version>
49+
<exclusions>
50+
<exclusion>
51+
<groupId>com.fasterxml.jackson.core</groupId>
52+
<artifactId>jackson-annotations</artifactId>
53+
</exclusion>
54+
<exclusion>
55+
<groupId>com.fasterxml.jackson.core</groupId>
56+
<artifactId>jackson-databind</artifactId>
57+
</exclusion>
58+
<exclusion>
59+
<groupId>com.fasterxml.jackson.core</groupId>
60+
<artifactId>jackson-core</artifactId>
61+
</exclusion>
62+
</exclusions>
4963
</dependency>
5064

5165
<dependency>
@@ -60,6 +74,12 @@
6074
</exclusions>
6175
</dependency>
6276

77+
<dependency>
78+
<groupId>com.fasterxml.jackson.core</groupId>
79+
<artifactId>jackson-databind</artifactId>
80+
<version>2.9.7</version>
81+
</dependency>
82+
6383
<!-- https://mvnrepository.com/artifact/io.symphonia/lambda-logging -->
6484
<dependency>
6585
<groupId>io.symphonia</groupId>

0 commit comments

Comments
 (0)