From eefa2b7110b78370a447c49d53fc15b2b5a33b48 Mon Sep 17 00:00:00 2001 From: kcichonczyk <88378534+kcichonczyk@users.noreply.github.com> Date: Fri, 18 Aug 2023 12:57:37 +0200 Subject: [PATCH] [PRODSEC-7274] bump bouncycastle version, add enforce rule for old bouncycastle versions --- .../rm-automation-community-rest-api/pom.xml | 18 +++++++++++++++++ data-model/pom.xml | 9 ++++++++- mmt/pom.xml | 10 ++++++++++ pom.xml | 20 +++++++++++++++---- repository/pom.xml | 2 +- 5 files changed, 53 insertions(+), 6 deletions(-) diff --git a/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml b/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml index c7f49319f7..1d83b38446 100644 --- a/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml +++ b/amps/ags/rm-automation/rm-automation-community-rest-api/pom.xml @@ -83,6 +83,24 @@ com.github.docker-java docker-java 3.3.2 + + + org.bouncycastle + bcprov-jdk15on + + + org.bouncycastle + bcpkix-jdk15on + + + + + org.bouncycastle + bcprov-jdk15to18 + + + org.bouncycastle + bcpkix-jdk15to18 diff --git a/data-model/pom.xml b/data-model/pom.xml index 8c27acaca6..67828fd595 100644 --- a/data-model/pom.xml +++ b/data-model/pom.xml @@ -197,6 +197,10 @@ org.bouncycastle bcprov-jdk15on + + org.bouncycastle + bcmail-jdk15on + asm asm @@ -220,7 +224,10 @@ - + + org.bouncycastle + bcmail-jdk15to18 + com.fasterxml.jackson.core jackson-core diff --git a/mmt/pom.xml b/mmt/pom.xml index 26f8a60d26..584e17c206 100644 --- a/mmt/pom.xml +++ b/mmt/pom.xml @@ -20,6 +20,16 @@ de.schlichtherle.truezip truezip-driver-zip ${dependency.truezip.version} + + + org.bouncycastle + bcprov-jdk15on + + + + + org.bouncycastle + bcprov-jdk15to18 de.schlichtherle.truezip diff --git a/pom.xml b/pom.xml index 6af06d6405..d64a70330a 100644 --- a/pom.xml +++ b/pom.xml @@ -62,7 +62,7 @@ 4.0.2 1.0.0-jakarta-1 8.46 - 1.70 + 1.76 5.4.0 3.24.2 20230618 @@ -663,12 +663,17 @@ org.bouncycastle - bcprov-jdk15on + bcprov-jdk15to18 ${dependency.bouncycastle.version} org.bouncycastle - bcmail-jdk15on + bcmail-jdk15to18 + ${dependency.bouncycastle.version} + + + org.bouncycastle + bcpkix-jdk15to18 ${dependency.bouncycastle.version} @@ -1110,8 +1115,15 @@ jakarta.xml.ws:jakarta.xml.ws-api:(, 3.0.1) jakarta.xml.soap:jakarta.xml.soap-api:(, 2.0.1) jakarta.jws:jakarta.jws-api:(, 3.0.0) - + + org.bouncycastle + + org.bouncycastle:bcprov-jdk15to18:[1.74,) + org.bouncycastle:bcmail-jdk15to18:[1.74,) + org.bouncycastle:bcpkix-jdk15to18:[1.74,) + org.bouncycastle:bcutil-jdk15to18:[1.74,) + true diff --git a/repository/pom.xml b/repository/pom.xml index cb364052c6..9693beb4b4 100644 --- a/repository/pom.xml +++ b/repository/pom.xml @@ -252,7 +252,7 @@ org.bouncycastle - bcprov-jdk15on + bcprov-jdk15to18 net.sf