summaryrefslogtreecommitdiffstats
path: root/profiles/http/pom.xml
diff options
context:
space:
mode:
authorjitendra sharma <jitendra.sharma1@huawei.com>2020-02-18 11:12:17 +0000
committerKanagaraj Manickam <kanagaraj.manickam@huawei.com>2020-02-21 04:51:51 +0000
commit84d0e55e2b66dd1dabbfe85b48e7b847d17a756f (patch)
treeda254931ee35a4da5e4f7d33f43c162cdaaf0d93 /profiles/http/pom.xml
parent7343d9b5736148fc6d688d094b36903a5160c0e3 (diff)
Change dependency version for httpclient
Issue-ID: CLI-246 Signed-off-by: jitendra sharma <jitendra.sharma1@huawei.com> Change-Id: Ie4b71259559927f485095021b6e87780698e9c92
Diffstat (limited to 'profiles/http/pom.xml')
-rw-r--r--profiles/http/pom.xml18
1 files changed, 17 insertions, 1 deletions
diff --git a/profiles/http/pom.xml b/profiles/http/pom.xml
index b8563e48..9268895d 100644
--- a/profiles/http/pom.xml
+++ b/profiles/http/pom.xml
@@ -37,11 +37,27 @@
<artifactId>cli-sample-mock-generator</artifactId>
<version>${project.version}</version>
</dependency>
+<!--Change version from 4.3.5 to 4.5.7 due to sonatype-2017-
+0359 and CVE-2015-526.
+Excluded commons-codec vulnerable version and added invulnerable version
+
+ -->
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
- <version>4.3.5</version>
+ <version>4.5.7</version>
+ <exclusions>
+ <exclusion>
+ <groupId>commons-codec</groupId>
+ <artifactId>commons-codec</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
+ <dependency>
+ <groupId>commons-codec</groupId>
+ <artifactId>commons-codec</artifactId>
+ <version>1.13</version>
+ </dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpmime</artifactId>