From c97b422fa8cc9d4635ac14eeb17051cfe5205f6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20Guimar=C3=A3es?= Date: Thu, 22 Feb 2024 12:45:27 +0000 Subject: [PATCH] Security upgrade ch.qos.logback:logback-classic from 1.2.11 to 1.3.14 --- .../databasepreservation/utils/ConfigUtils.java | 15 +++++++++------ pom.xml | 6 +++--- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/dbptk-model/src/main/java/com/databasepreservation/utils/ConfigUtils.java b/dbptk-model/src/main/java/com/databasepreservation/utils/ConfigUtils.java index f0a156e59..0637c103d 100644 --- a/dbptk-model/src/main/java/com/databasepreservation/utils/ConfigUtils.java +++ b/dbptk-model/src/main/java/com/databasepreservation/utils/ConfigUtils.java @@ -14,6 +14,9 @@ import java.nio.file.Path; import java.nio.file.Paths; +import ch.qos.logback.classic.LoggerContext; +import ch.qos.logback.classic.joran.JoranConfigurator; +import ch.qos.logback.core.joran.spi.JoranException; import org.apache.commons.io.IOUtils; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; @@ -21,10 +24,6 @@ import com.databasepreservation.Constants; -import ch.qos.logback.classic.LoggerContext; -import ch.qos.logback.classic.joran.JoranConfigurator; -import ch.qos.logback.core.joran.spi.JoranException; - /** * Obtain values from system environment variables or properties. * @@ -86,9 +85,13 @@ public static Path getHomeDirectory() { return homeDirectory; } - public static Path getHiddenHomeDirectory() { return hiddenHomeDirectory; } + public static Path getHiddenHomeDirectory() { + return hiddenHomeDirectory; + } - public static Path getMapDBHomeDirectory() { return mapDBHomeDirectory; } + public static Path getMapDBHomeDirectory() { + return mapDBHomeDirectory; + } private static void instantiateEssentialDirectories(Path... directories) { for (Path path : directories) { diff --git a/pom.xml b/pom.xml index 2d66cfbf6..91af22295 100644 --- a/pom.xml +++ b/pom.xml @@ -330,17 +330,17 @@ org.slf4j slf4j-api - 2.0.9 + 2.0.11 ch.qos.logback logback-classic - 1.3.8 + 1.3.14 ch.qos.logback logback-core - 1.3.8 + 1.3.14