From a771e7a2a1f76bb11525c278a74f352dfc7670c2 Mon Sep 17 00:00:00 2001
From: Tsvetoslav Tsekov <129774811+tsekovTriesCoding@users.noreply.github.com>
Date: Wed, 18 Mar 2026 16:15:51 +0200
Subject: [PATCH] fix: patch backend dependency vulnerabilities
- Bump Spring Boot 4.0.2 -> 4.0.3 (fixes Jackson, Tomcat, AssertJ transitives)
- Bump Spring Cloud 2025.1.0 -> 2025.1.1 (fixes Eureka/httpclient transitives)
- Bump MySQL Connector/J 8.3.0 -> 8.4.0
- Bump Testcontainers 2.0.0 -> 2.0.3
- Bump springdoc 2.8.6 -> 3.0.2 (Spring Boot 4 compatible line)
- Bump JJWT 0.12.6 -> 0.12.7, centralized in parent POM
- Bump Cloudinary 2.0.0 -> 2.3.2, centralized in parent POM
- Override Jackson BOMs 2.20.2 -> 2.21.1 / 3.0.4 -> 3.1.0 (CVE-2026-29062)
- Override Kafka 4.1.1 -> 4.1.2 (CVE-2025-48734)
- Override lz4-java -> 1.8.1, protobuf-java -> 4.34.0 (transitive CVE fixes)
- Update README badges and tech stack versions
---
README.md | 14 ++++-----
backend/api-gateway/pom.xml | 3 --
backend/auth-service/pom.xml | 3 --
backend/pom.xml | 56 ++++++++++++++++++++++++++++++++----
backend/user-service/pom.xml | 1 -
5 files changed, 58 insertions(+), 19 deletions(-)
diff --git a/README.md b/README.md
index 82f2d34..fe349f8 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,11 @@
# FinPay Platform

-
+



-
+



@@ -100,20 +100,20 @@ graph TB
### Backend
| Layer | Technology |
|-------|-----------|
-| Framework | Spring Boot 4.0.2, Spring Cloud 2025.1.0 |
+| Framework | Spring Boot 4.0.3, Spring Cloud 2025.1.1 |
| Language | Java 25 |
| Database | MySQL 8.0 (database-per-service) |
| Messaging | Apache Kafka (KRaft mode, no Zookeeper) |
| Caching | Redis 7 (sessions, rate limiting, idempotency, analytics) |
-| Auth | JWT (JJWT 0.12.6), OAuth2 (Google, GitHub), BCrypt, HTTP-only cookies |
-| API Docs | SpringDoc OpenAPI 2.8.6, aggregated at the gateway |
+| Auth | JWT (JJWT 0.12.7), OAuth2 (Google, GitHub), BCrypt, HTTP-only cookies |
+| API Docs | SpringDoc OpenAPI 3.0.2, aggregated at the gateway |
| Resilience | Resilience4j circuit breakers, Spring Retry with exponential backoff |
| Mapping | MapStruct 1.6.3, Lombok |
| Tracing | OpenTelemetry + Zipkin (100% sampling) |
| Metrics | Micrometer → Prometheus → Grafana |
| Email | Spring Mail + Thymeleaf HTML templates |
-| Image Upload | Cloudinary 2.0.0 |
-| Testing | JUnit 5, Testcontainers 2.0.0 (MySQL, Kafka, Redis) |
+| Image Upload | Cloudinary 2.3.2 |
+| Testing | JUnit 5, Testcontainers 2.0.3 (MySQL, Kafka, Redis) |
### Frontend
| Layer | Technology |
diff --git a/backend/api-gateway/pom.xml b/backend/api-gateway/pom.xml
index c880bdd..e443ca2 100644
--- a/backend/api-gateway/pom.xml
+++ b/backend/api-gateway/pom.xml
@@ -48,18 +48,15 @@
io.jsonwebtoken
jjwt-api
- 0.12.6
io.jsonwebtoken
jjwt-impl
- 0.12.6
runtime
io.jsonwebtoken
jjwt-jackson
- 0.12.6
runtime
diff --git a/backend/auth-service/pom.xml b/backend/auth-service/pom.xml
index b704ee8..31926ec 100644
--- a/backend/auth-service/pom.xml
+++ b/backend/auth-service/pom.xml
@@ -48,18 +48,15 @@
io.jsonwebtoken
jjwt-api
- 0.12.6
io.jsonwebtoken
jjwt-impl
- 0.12.6
runtime
io.jsonwebtoken
jjwt-jackson
- 0.12.6
runtime
diff --git a/backend/pom.xml b/backend/pom.xml
index 6527c85..bc39e5a 100644
--- a/backend/pom.xml
+++ b/backend/pom.xml
@@ -6,7 +6,7 @@
org.springframework.boot
spring-boot-starter-parent
- 4.0.2
+ 4.0.3
@@ -30,13 +30,23 @@
25
- 2025.1.0
- 8.3.0
+ 2025.1.1
+ 8.4.0
1.6.3
0.2.0
5.1.0
- 2.0.0
- 2.8.6
+ 2.0.3
+ 3.0.2
+ 0.12.7
+ 2.3.2
+
+ 1.8.1
+ 4.34.0
+
+ 2.21.1
+ 3.1.0
+
+ 4.1.2
@@ -79,6 +89,42 @@
springdoc-openapi-starter-webmvc-ui
${springdoc.version}
+
+
+
+ io.jsonwebtoken
+ jjwt-api
+ ${jjwt.version}
+
+
+ io.jsonwebtoken
+ jjwt-impl
+ ${jjwt.version}
+
+
+ io.jsonwebtoken
+ jjwt-jackson
+ ${jjwt.version}
+
+
+
+
+ com.cloudinary
+ cloudinary-http5
+ ${cloudinary.version}
+
+
+
+
+ org.lz4
+ lz4-java
+ ${lz4-java.version}
+
+
+ com.google.protobuf
+ protobuf-java
+ ${protobuf-java.version}
+
diff --git a/backend/user-service/pom.xml b/backend/user-service/pom.xml
index e6b497b..6dee0fe 100644
--- a/backend/user-service/pom.xml
+++ b/backend/user-service/pom.xml
@@ -73,7 +73,6 @@
com.cloudinary
cloudinary-http5
- 2.0.0