Skip to content

Commit 4b3c0d0

Browse files
committed
Remove vulnerable commons-fileupload dependency. Fixes gh-853.
1 parent 04da648 commit 4b3c0d0

File tree

2 files changed

+19
-0
lines changed
  • spring-cloud-openfeign-core
  • spring-cloud-openfeign-dependencies

2 files changed

+19
-0
lines changed

spring-cloud-openfeign-core/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,16 @@
108108
<groupId>commons-io</groupId>
109109
<artifactId>commons-io</artifactId>
110110
</exclusion>
111+
<exclusion>
112+
<groupId>commons-fileupload</groupId>
113+
<artifactId>commons-fileupload</artifactId>
114+
</exclusion>
111115
</exclusions>
112116
</dependency>
117+
<dependency>
118+
<groupId>commons-fileupload</groupId>
119+
<artifactId>commons-fileupload</artifactId>
120+
</dependency>
113121
<dependency>
114122
<groupId>io.github.openfeign</groupId>
115123
<artifactId>feign-slf4j</artifactId>

spring-cloud-openfeign-dependencies/pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,17 @@
4848
<groupId>io.github.openfeign.form</groupId>
4949
<artifactId>feign-form-spring</artifactId>
5050
<version>${feign-form.version}</version>
51+
<exclusions>
52+
<exclusion>
53+
<groupId>commons-fileupload</groupId>
54+
<artifactId>commons-fileupload</artifactId>
55+
</exclusion>
56+
</exclusions>
57+
</dependency>
58+
<dependency>
59+
<groupId>commons-fileupload</groupId>
60+
<artifactId>commons-fileupload</artifactId>
61+
<version>1.5</version>
5162
</dependency>
5263
</dependencies>
5364
</dependencyManagement>

0 commit comments

Comments
 (0)