Skip to content

Commit 8c1c703

Browse files
committed
Multiple security fixes
1 parent 1528f09 commit 8c1c703

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ subprojects {
6363
exclude group: 'commons-codec', module: 'commons-codec'
6464
}
6565
implementation 'commons-codec:commons-codec:1.13'
66-
implementation 'org.apache.commons:commons-lang3:3.12.0'
66+
implementation 'org.apache.commons:commons-lang3:3.18.0'
6767
implementation 'com.fasterxml.jackson.core:jackson-core:2.19.1'
6868
implementation 'com.fasterxml.jackson.core:jackson-databind:2.19.1'
6969
implementation 'com.fasterxml.jackson.core:jackson-annotations:2.19.1'
70-
api 'org.jfrog.filespecs:file-specs-java:1.1.1'
70+
api 'org.jfrog.filespecs:file-specs-java:1.1.2'
7171
}
7272

7373
task sourcesJar(type: Jar, dependsOn: classes) {

httpClient/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ repositories {
88

99
dependencies {
1010
testImplementation group: 'org.testng', name: 'testng', version: '7.5.1'
11-
testImplementation group: 'com.github.tomakehurst', name: 'wiremock-jre8', version: '2.35.1'
11+
testImplementation group: 'com.github.tomakehurst', name: 'wiremock-jre8', version: '3.0.1'
1212
}

httpClient/src/main/java/org/jfrog/artifactory/client/httpClient/http/HttpBuilderBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ private SSLContext buildSslContext() {
399399
sslContext = sslBuilder.build();
400400
}
401401
} catch (Exception e) {
402-
e.printStackTrace();
402+
throw new RuntimeException("Error building SSLContext: " + e.getMessage(), e);
403403
}
404404
return sslContext != null ? sslContext : SSLContexts.createDefault();
405405
}

services/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies {
1515
* https://github.com/jfrog/artifactory-client-java/issues/43
1616
* https://github.com/jfrog/artifactory-client-java/issues/232
1717
*/
18-
testRuntimeOnly group: 'ch.qos.logback', name: 'logback-classic', version: '1.2.9'
18+
testRuntimeOnly group: 'ch.qos.logback', name: 'logback-classic', version: '1.3.15'
1919
}
2020

2121
task createReleasePropertiesFile(type: Exec) {

0 commit comments

Comments
 (0)