From bdae97d020c45557c0e159d826334c3bf9750ebe Mon Sep 17 00:00:00 2001
From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Date: Wed, 30 Sep 2026 03:39:02 +0000
Subject: [PATCH] bug: upgrade mysql-connector-java 5.1.42 -> 8.0.28
(CVE-2022-21363)
---
UserFront/pom.xml | 7 +++++++
UserFront/src/main/resources/application.properties | 1 +
2 files changed, 8 insertions(+)
diff --git a/UserFront/pom.xml b/UserFront/pom.xml
index 902ec2b3..326e4bec 100644
--- a/UserFront/pom.xml
+++ b/UserFront/pom.xml
@@ -22,6 +22,7 @@
UTF-8
UTF-8
1.8
+ 8.0.28
@@ -48,6 +49,12 @@
mysql
mysql-connector-java
+
+
+ com.google.protobuf
+ protobuf-java
+
+
diff --git a/UserFront/src/main/resources/application.properties b/UserFront/src/main/resources/application.properties
index d7e04942..74b16c0d 100644
--- a/UserFront/src/main/resources/application.properties
+++ b/UserFront/src/main/resources/application.properties
@@ -6,6 +6,7 @@
# Connection url for the database "netgloo_blog"
spring.datasource.url = jdbc:mysql://localhost:3306/onlinebanking
+spring.datasource.driver-class-name = com.mysql.cj.jdbc.Driver
# Username and secret
spring.datasource.username = root