Skip to content

Commit 25279ed

Browse files
authored
Merge pull request #51 from datallmhub/fix/tomcat-10.1.55-criticals
Pin tomcat-embed 10.1.55 to clear critical tomcat advisories
2 parents 002ec23 + f3f8a7b commit 25279ed

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

pom.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,34 @@
4646
<junit.version>5.10.2</junit.version>
4747
<assertj.version>3.27.7</assertj.version>
4848
<mockito.version>5.11.0</mockito.version>
49+
50+
<!-- Single security pin: Boot 3.5.14 ships tomcat 10.1.54, one patch
51+
behind the fix (10.1.55) for several critical/high tomcat-embed
52+
advisories. Same 10.1.x line — drop this once Boot pins 10.1.55+. -->
53+
<tomcat.version>10.1.55</tomcat.version>
4954
</properties>
5055

5156
<dependencyManagement>
5257
<dependencies>
58+
<!-- Security pin ahead of the Boot BOM: tomcat 10.1.55 fixes
59+
critical/high tomcat-embed advisories that 10.1.54 (Boot 3.5.14's
60+
default) is still exposed to. Stays on the 10.1.x line. -->
61+
<dependency>
62+
<groupId>org.apache.tomcat.embed</groupId>
63+
<artifactId>tomcat-embed-core</artifactId>
64+
<version>${tomcat.version}</version>
65+
</dependency>
66+
<dependency>
67+
<groupId>org.apache.tomcat.embed</groupId>
68+
<artifactId>tomcat-embed-el</artifactId>
69+
<version>${tomcat.version}</version>
70+
</dependency>
71+
<dependency>
72+
<groupId>org.apache.tomcat.embed</groupId>
73+
<artifactId>tomcat-embed-websocket</artifactId>
74+
<version>${tomcat.version}</version>
75+
</dependency>
76+
5377
<dependency>
5478
<groupId>org.springframework.boot</groupId>
5579
<artifactId>spring-boot-dependencies</artifactId>

0 commit comments

Comments
 (0)