From 0d9b3896ad594816b1eb7048949114e6a18c4bd4 Mon Sep 17 00:00:00 2001 From: "Lee, Tian (tl5884)" Date: Mon, 1 Oct 2018 16:24:47 +0100 Subject: Fix NexusIQ security vulnerabilities Remove Spring Boot Jackson dependencies and replace with Gson implementation. Fix potential source of NullPointerException. Change-Id: I3a715a023223b596e8a0979f0e0d381511fca32d Issue-ID: AAF-529 Signed-off-by: Lee, Tian (tl5884) --- sidecar/fproxy/pom.xml | 14 +++++++++----- sidecar/fproxy/src/main/resources/application.properties | 4 +--- 2 files changed, 10 insertions(+), 8 deletions(-) (limited to 'sidecar/fproxy') diff --git a/sidecar/fproxy/pom.xml b/sidecar/fproxy/pom.xml index 81014e6..55221b9 100644 --- a/sidecar/fproxy/pom.xml +++ b/sidecar/fproxy/pom.xml @@ -71,14 +71,13 @@ spring-boot-starter-tomcat org.springframework.boot + + org.springframework.boot + spring-boot-starter-json + - - org.springframework.boot - spring-boot-starter-actuator - - org.apache.commons commons-lang3 @@ -89,6 +88,11 @@ httpclient + + com.google.code.gson + gson + + org.springframework.boot diff --git a/sidecar/fproxy/src/main/resources/application.properties b/sidecar/fproxy/src/main/resources/application.properties index d269c54..5ed7510 100644 --- a/sidecar/fproxy/src/main/resources/application.properties +++ b/sidecar/fproxy/src/main/resources/application.properties @@ -9,6 +9,4 @@ server.contextPath=/ logging.config=${CONFIG_HOME}/logback-spring.xml -spring.profiles.active=secure - -management.endpoints.web.base-path=/fproxy \ No newline at end of file +spring.profiles.active=secure \ No newline at end of file -- cgit 1.2.3-korg