From 14d38b19fe6670beb41f5efd671a33c583befd0b Mon Sep 17 00:00:00 2001 From: tawoe Date: Thu, 26 Feb 2026 16:29:38 +0100 Subject: [PATCH 1/2] bind http4s to port 8080 --- obp-api/src/main/scala/bootstrap/http4s/Http4sServer.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/obp-api/src/main/scala/bootstrap/http4s/Http4sServer.scala b/obp-api/src/main/scala/bootstrap/http4s/Http4sServer.scala index 6c2c72cbc9..f25351b96c 100644 --- a/obp-api/src/main/scala/bootstrap/http4s/Http4sServer.scala +++ b/obp-api/src/main/scala/bootstrap/http4s/Http4sServer.scala @@ -12,7 +12,7 @@ object Http4sServer extends IOApp { // new bootstrap.http4s.Http4sBoot().boot new bootstrap.liftweb.Boot().boot - val port = APIUtil.getPropsAsIntValue("http4s.port",8086) + val port = APIUtil.getPropsAsIntValue("http4s.port",8080) // Default changed from 127.0.0.1 to 0.0.0.0 so the server binds to all network interfaces. // It is still configurable via the http4s.host property. val host = APIUtil.getPropsValue("http4s.host","0.0.0.0") From 1c860a84204016149d53a1e0443a97e0a20bc69a Mon Sep 17 00:00:00 2001 From: hongwei Date: Thu, 26 Feb 2026 19:26:30 +0100 Subject: [PATCH 2/2] security: Fix critical CVEs and update security dependencies - Remove insecure HTTP repository from obp-commons (MITM vector) - Update BouncyCastle to 1.78.1 (fixes CVE-2023-33201, CVE-2024-29857) - Update MySQL Connector to 8.0.33 (fixes CVE-2023-21971, CVE-2023-21980) - Update slf4j libraries to 2.0.16 (5+ years of security patches) - Update Apache HttpClient to 4.5.14 (latest security patches) - Centralize Guava version management (32.0.0-jre) - Update Maven plugins (resources: 3.3.1, site: 4.0.0-M13) - Remove obsolete commented code blocks All changes verified with successful compilation and dependency resolution. --- obp-api/pom.xml | 117 +++++++------------------------------------- obp-commons/pom.xml | 10 ---- pom.xml | 10 +++- 3 files changed, 25 insertions(+), 112 deletions(-) diff --git a/obp-api/pom.xml b/obp-api/pom.xml index f84632ca0d..9a458a62a0 100644 --- a/obp-api/pom.xml +++ b/obp-api/pom.xml @@ -14,34 +14,12 @@ jar Open Bank Project API - - - org.sonatype.oss.groups.public - Sonatype Public - https://oss.sonatype.org/content/groups/public - - - com.tesobe obp-commons - - - + com.github.everit-org.json-schema org.everit.json.schema @@ -64,17 +42,17 @@ org.slf4j log4j-over-slf4j - 1.7.26 + 2.0.16 slf4j-ext org.slf4j - 1.7.26 + 2.0.16 org.bouncycastle - bcpg-jdk15on - 1.70 + bcpg-jdk18on + 1.78.1 org.http4s @@ -88,8 +66,8 @@ org.bouncycastle - bcpkix-jdk15on - 1.70 + bcpkix-jdk18on + 1.78.1 @@ -120,18 +98,14 @@ 2.2.220 runtime - + + - mysql - mysql-connector-java - 8.0.30 + com.mysql + mysql-connector-j + 8.0.33 - + junit junit @@ -151,7 +125,7 @@ org.apache.httpcomponents httpclient - 4.5.13 + 4.5.14 org.apache.commons @@ -164,17 +138,7 @@ amqp_3.1_${scala.version} 1.5.0 - - - - - - - - - - - + org.elasticsearch elasticsearch @@ -440,13 +404,7 @@ 3.2.7-RELEASE - + org.graalvm.js js @@ -650,7 +608,6 @@ org.apache.maven.plugins maven-resources-plugin - 3.0.1 default-copy-resources @@ -737,47 +694,7 @@ - - - - - - - - - - - - - - - - - - - - - - + diff --git a/obp-commons/pom.xml b/obp-commons/pom.xml index bf6bf16d27..a229fcf2ae 100644 --- a/obp-commons/pom.xml +++ b/obp-commons/pom.xml @@ -13,14 +13,6 @@ jar Open Bank Project Commons - - - artima - Artima Maven Repository - http://repo.artima.com/releases - - - net.liftweb @@ -83,7 +75,6 @@ com.google.guava guava - 32.0.0-jre @@ -170,7 +161,6 @@ org.apache.maven.plugins maven-resources-plugin - 3.0.1 default-copy-resources diff --git a/pom.xml b/pom.xml index 768b4f9054..449eb63d37 100644 --- a/pom.xml +++ b/pom.xml @@ -101,6 +101,12 @@ commons-text 1.12.0 + + + com.google.guava + guava + 32.0.0-jre + org.scalatest scalatest_${scala.version} @@ -186,7 +192,7 @@ org.apache.maven.plugins maven-resources-plugin - 3.0.1 + 3.3.1 default-copy-resources @@ -236,7 +242,7 @@ org.apache.maven.plugins maven-site-plugin - 3.7.1 + 4.0.0-M13