@@ -15,9 +15,13 @@ dependencies {
1515 implementation ' org.glassfish.jaxb:jaxb-runtime:2.3.8'
1616 implementation ' org.glassfish.jaxb:jaxb-core:2.3.0.1'
1717 }
18+
19+ // Forcing usage of 3.4.0 instead of 3.2.0 to address vulnerability - https://security.snyk.io/vuln/SNYK-JAVA-COMSQUAREUPOKIO-5820002
20+ implementation ' com.squareup.okio:okio:3.4.0'
1821 implementation ' com.squareup.okhttp3:okhttp:4.11.0'
1922 implementation ' com.squareup.okhttp3:logging-interceptor:4.11.0'
2023 implementation ' io.github.rburgst:okhttp-digest:2.7'
24+
2125 implementation ' com.sun.mail:javax.mail:1.6.2'
2226 implementation ' javax.ws.rs:javax.ws.rs-api:2.1.1'
2327 implementation ' org.slf4j:slf4j-api:1.7.36'
@@ -31,12 +35,12 @@ dependencies {
3135 compileOnly ' commons-codec:commons-codec:1.15'
3236 compileOnly ' org.apache.httpcomponents:httpclient:4.5.14'
3337 compileOnly ' org.jdom:jdom2:2.0.6.1'
34- compileOnly ' org.dom4j:dom4j:2.1.3 '
35- compileOnly ' com.google.code.gson:gson:2.10'
38+ compileOnly ' org.dom4j:dom4j:2.1.4 '
39+ compileOnly ' com.google.code.gson:gson:2.10.1 '
3640
3741 testImplementation ' org.junit.jupiter:junit-jupiter:5.9.3'
3842 // Forcing junit version to avoid vulnerability with older version in xmlunit
39- testImplementation ' junit:junit:4.13.1 '
43+ testImplementation ' junit:junit:4.13.2 '
4044 testImplementation ' org.xmlunit:xmlunit-legacy:2.9.1'
4145 testImplementation project(' :examples' )
4246
@@ -47,6 +51,7 @@ dependencies {
4751 // Starting with mockito 5.x, Java 11 is required, so sticking with 4.x as we have to support Java 8.
4852 testImplementation " org.mockito:mockito-core:4.11.0"
4953 testImplementation " org.mockito:mockito-inline:4.11.0"
54+ testImplementation ' com.squareup.okio:okio:3.4.0'
5055 testImplementation " com.squareup.okhttp3:mockwebserver:4.11.0"
5156
5257 testImplementation ' com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.14.3'
@@ -57,7 +62,7 @@ dependencies {
5762 testImplementation ' org.apache.httpcomponents:httpclient:4.5.14'
5863 testImplementation ' com.opencsv:opencsv:4.6'
5964 testImplementation ' org.geonames:geonames:1.0'
60- testImplementation ' org.skyscreamer:jsonassert:1.5.0 '
65+ testImplementation ' org.skyscreamer:jsonassert:1.5.1 '
6166}
6267
6368// Ensure that mlHost and mlPassword can override the defaults of localhost/admin if they've been modified
0 commit comments