Skip to content

Commit 6614bd0

Browse files
Mark Pollackmarkpollack
authored andcommitted
Use the SDK's Jackson in the Spring Boot modules
Spring Boot 4.1.0's BOM brought Jackson 2.21.4 and 3.1.4 into the Spring modules, with CVE-2026-89407, -89425, -68497, -91776 and -91777: the parent's Jackson BOM imports do not win over Boot's there. The modules import the Jackson BOMs at the SDK's jackson.version and jackson3.version ahead of Boot's. The dependency scan fails without this.
1 parent ae3e88e commit 6614bd0

2 files changed

Lines changed: 32 additions & 0 deletions

File tree

‎acp-spring-boot-autoconfigure/pom.xml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,22 @@
5353
<type>pom</type>
5454
<scope>import</scope>
5555
</dependency>
56+
<!-- The SDK's Jackson, not Boot 4.1.0's 2.21.4 / 3.1.4 (CVE-2026-89407, -89425, -68497,
57+
-91776, -91777): the parent's Jackson BOM imports do not win over Boot's here. -->
58+
<dependency>
59+
<groupId>tools.jackson</groupId>
60+
<artifactId>jackson-bom</artifactId>
61+
<version>${jackson3.version}</version>
62+
<type>pom</type>
63+
<scope>import</scope>
64+
</dependency>
65+
<dependency>
66+
<groupId>com.fasterxml.jackson</groupId>
67+
<artifactId>jackson-bom</artifactId>
68+
<version>${jackson.version}</version>
69+
<type>pom</type>
70+
<scope>import</scope>
71+
</dependency>
5672
<dependency>
5773
<groupId>org.springframework.boot</groupId>
5874
<artifactId>spring-boot-dependencies</artifactId>

‎acp-spring-boot-starter/pom.xml‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,22 @@
4141
<type>pom</type>
4242
<scope>import</scope>
4343
</dependency>
44+
<!-- The SDK's Jackson, not Boot 4.1.0's 2.21.4 / 3.1.4 (CVE-2026-89407, -89425, -68497,
45+
-91776, -91777): the parent's Jackson BOM imports do not win over Boot's here. -->
46+
<dependency>
47+
<groupId>tools.jackson</groupId>
48+
<artifactId>jackson-bom</artifactId>
49+
<version>${jackson3.version}</version>
50+
<type>pom</type>
51+
<scope>import</scope>
52+
</dependency>
53+
<dependency>
54+
<groupId>com.fasterxml.jackson</groupId>
55+
<artifactId>jackson-bom</artifactId>
56+
<version>${jackson.version}</version>
57+
<type>pom</type>
58+
<scope>import</scope>
59+
</dependency>
4460
<dependency>
4561
<groupId>org.springframework.boot</groupId>
4662
<artifactId>spring-boot-dependencies</artifactId>

0 commit comments

Comments
 (0)