diff --git a/.idea/modules/app-java/countly-sdk-java.app-java.main.iml b/.idea/modules/app-java/countly-sdk-java.app-java.main.iml
index 5ca1f4c14..75acfebfc 100644
--- a/.idea/modules/app-java/countly-sdk-java.app-java.main.iml
+++ b/.idea/modules/app-java/countly-sdk-java.app-java.main.iml
@@ -8,8 +8,9 @@
-
+
+
\ No newline at end of file
diff --git a/.idea/modules/app-java/countly-sdk-java.app-java.test.iml b/.idea/modules/app-java/countly-sdk-java.app-java.test.iml
index 5aa9fed79..e0a5b5d38 100644
--- a/.idea/modules/app-java/countly-sdk-java.app-java.test.iml
+++ b/.idea/modules/app-java/countly-sdk-java.app-java.test.iml
@@ -7,8 +7,9 @@
-
+
+
diff --git a/.idea/modules/sdk-java/countly-sdk-java.sdk-java.main.iml b/.idea/modules/sdk-java/countly-sdk-java.sdk-java.main.iml
index 4617fbb81..f3724da88 100644
--- a/.idea/modules/sdk-java/countly-sdk-java.sdk-java.main.iml
+++ b/.idea/modules/sdk-java/countly-sdk-java.sdk-java.main.iml
@@ -8,7 +8,7 @@
-
+
\ No newline at end of file
diff --git a/.idea/modules/sdk-java/countly-sdk-java.sdk-java.test.iml b/.idea/modules/sdk-java/countly-sdk-java.sdk-java.test.iml
index f85eb88cf..a01acf446 100644
--- a/.idea/modules/sdk-java/countly-sdk-java.sdk-java.test.iml
+++ b/.idea/modules/sdk-java/countly-sdk-java.sdk-java.test.iml
@@ -9,10 +9,10 @@
-
+
-
+
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 7a269ceef..55050453d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,8 @@
* Added a new function "setID(newDeviceId)" for managing device id changes according to the device ID Type.
+* Mitigated an issue where json and junit dependencies had vulnerabilities.
+
## 24.1.0
* !! Major breaking change !! The following method and its functionality is deprecated from the "UserEditor" interface and will not function anymore:
diff --git a/sdk-java/build.gradle b/sdk-java/build.gradle
index b34615369..944a58bd1 100644
--- a/sdk-java/build.gradle
+++ b/sdk-java/build.gradle
@@ -13,10 +13,10 @@ buildscript {
}
dependencies {
- implementation 'org.json:json:20230227'
+ implementation 'org.json:json:20231013'
implementation 'com.google.code.findbugs:jsr305:3.0.2'
- testImplementation 'junit:junit:4.12'
+ testImplementation 'junit:junit:4.13.1'
testImplementation 'org.mockito:mockito-core:2.8.9'
testImplementation "org.powermock:powermock-core:${POWERMOCK_VERSION}"
testImplementation "org.powermock:powermock-module-junit4:${POWERMOCK_VERSION}"