Skip to content

Commit 82424f8

Browse files
SandraAhlgrimmilayaperumalg
authored andcommitted
Upgrade commons-compress to 1.28.0 to fix CVE (Infinite Loop, Resource Allocation)
Fix high severity vulnerability SNYK-JAVA-ORGAPACHECOMMONS-6254296 (Infinite Loop) Fix medium severity vulnerability SNYK-JAVA-ORGAPACHECOMMONS-6254297 (Resource Allocation) Signed-off-by: Sandra Ahlgrimm <sandra.kriemann@gmail.com>
1 parent 3c3c3eb commit 82424f8

File tree

2 files changed

+17
-0
lines changed
  • models/spring-ai-transformers
  • vector-stores/spring-ai-azure-cosmos-db-store

2 files changed

+17
-0
lines changed

models/spring-ai-transformers/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@
4848
<type>pom</type>
4949
<scope>import</scope>
5050
</dependency>
51+
<!-- Override commons-compress to fix CVE (Infinite Loop, Resource Allocation) in 1.24.0 -->
52+
<dependency>
53+
<groupId>org.apache.commons</groupId>
54+
<artifactId>commons-compress</artifactId>
55+
<version>1.28.0</version>
56+
</dependency>
5157
</dependencies>
5258
</dependencyManagement>
5359

vector-stores/spring-ai-azure-cosmos-db-store/pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,17 @@
4141
<maven.compiler.source>17</maven.compiler.source>
4242
</properties>
4343

44+
<dependencyManagement>
45+
<dependencies>
46+
<!-- Override commons-compress to fix CVE (Infinite Loop, Resource Allocation) in 1.24.0 -->
47+
<dependency>
48+
<groupId>org.apache.commons</groupId>
49+
<artifactId>commons-compress</artifactId>
50+
<version>1.28.0</version>
51+
</dependency>
52+
</dependencies>
53+
</dependencyManagement>
54+
4455
<dependencies>
4556
<dependency>
4657
<groupId>com.azure</groupId>

0 commit comments

Comments
 (0)