Browse Source

Remove vulnerable commons-fileupload dependency. Fixes gh-853.

reset
Olga MaciaszekSharma 2 years ago
parent
commit
4b3c0d0039
  1. 8
      spring-cloud-openfeign-core/pom.xml
  2. 11
      spring-cloud-openfeign-dependencies/pom.xml

8
spring-cloud-openfeign-core/pom.xml

@ -108,8 +108,16 @@ @@ -108,8 +108,16 @@
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</exclusion>
<exclusion>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
</dependency>
<dependency>
<groupId>io.github.openfeign</groupId>
<artifactId>feign-slf4j</artifactId>

11
spring-cloud-openfeign-dependencies/pom.xml

@ -48,6 +48,17 @@ @@ -48,6 +48,17 @@
<groupId>io.github.openfeign.form</groupId>
<artifactId>feign-form-spring</artifactId>
<version>${feign-form.version}</version>
<exclusions>
<exclusion>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<version>1.5</version>
</dependency>
</dependencies>
</dependencyManagement>

Loading…
Cancel
Save