Skip to content

Commit 9856cb7

Browse files
Bump BouncyCastle from jdk15on to jdk15to18 (opensearch-project#8247)
jdk15on are not supported anymore since based development was moved from jsk15on to jdk18on. jdk15to18 contains fixed for: - CVE-2023-33201 - CVE-2022-45146 Signed-off-by: Andrey Pleskach <ples@aiven.io>
1 parent 9aeb156 commit 9856cb7

22 files changed

+15
-13
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
3636
- OpenJDK Update (April 2023 Patch releases) ([#7344](https://github.com/opensearch-project/OpenSearch/pull/7344)
3737
- Bump `com.google.http-client:google-http-client:1.43.2` from 1.42.0 to 1.43.2 ([7928](https://github.com/opensearch-project/OpenSearch/pull/7928)))
3838
- Add Opentelemetry dependencies ([#7543](https://github.com/opensearch-project/OpenSearch/issues/7543))
39+
- Bump `org.bouncycastle:bcprov-jdk15on` to `org.bouncycastle:bcprov-jdk15to18` version 1.75 ([8247](https://github.com/opensearch-project/OpenSearch/pull/8247))
40+
- Bump `org.bouncycastle:bcmail-jdk15on` to `org.bouncycastle:bcmail-jdk15to18` version 1.75 ([8247](https://github.com/opensearch-project/OpenSearch/pull/8247))
41+
- Bump `org.bouncycastle:bcpkix-jdk15on` to `org.bouncycastle:bcpkix-jdk15to18` version 1.75 ([8247](https://github.com/opensearch-project/OpenSearch/pull/8247))
42+
43+
3944

4045
### Changed
4146
- [CCR] Add getHistoryOperationsFromTranslog method to fetch the history snapshot from translogs ([#3948](https://github.com/opensearch-project/OpenSearch/pull/3948))

buildSrc/version.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ reactivestreams = 1.0.4
4848
# when updating this version, you need to ensure compatibility with:
4949
# - plugins/ingest-attachment (transitive dependency, check the upstream POM)
5050
# - distribution/tools/plugin-cli
51-
bouncycastle=1.70
51+
bouncycastle=1.75
5252
# test dependencies
5353
randomizedrunner = 2.7.1
5454
junit = 4.13.2

plugins/identity-shiro/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ dependencies {
2828

2929
implementation 'org.passay:passay:1.6.3'
3030

31-
implementation "org.bouncycastle:bcprov-jdk15on:${versions.bouncycastle}"
31+
implementation "org.bouncycastle:bcprov-jdk15to18:${versions.bouncycastle}"
3232

3333
testImplementation project(path: ':modules:transport-netty4') // for http
3434
testImplementation project(path: ':plugins:transport-nio') // for http

plugins/identity-shiro/licenses/bcprov-jdk15on-1.70.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
df22e1b6a9f6b218913f5b68dd16641344397fe0

plugins/ingest-attachment/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ dependencies {
7171
api "org.apache.pdfbox:fontbox:${versions.pdfbox}"
7272
api "org.apache.pdfbox:jempbox:1.8.17"
7373
api "commons-logging:commons-logging:${versions.commonslogging}"
74-
api "org.bouncycastle:bcmail-jdk15on:${versions.bouncycastle}"
75-
api "org.bouncycastle:bcprov-jdk15on:${versions.bouncycastle}"
76-
api "org.bouncycastle:bcpkix-jdk15on:${versions.bouncycastle}"
74+
api "org.bouncycastle:bcmail-jdk15to18:${versions.bouncycastle}"
75+
api "org.bouncycastle:bcprov-jdk15to18:${versions.bouncycastle}"
76+
api "org.bouncycastle:bcpkix-jdk15to18:${versions.bouncycastle}"
7777
// OpenOffice
7878
api "org.apache.poi:poi-ooxml:${versions.poi}"
7979
api "org.apache.poi:poi:${versions.poi}"

plugins/ingest-attachment/licenses/bcmail-jdk15on-1.70.jar.sha1

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
b316bcd094e3917b1ece93a6edbab93f8315fb3b

0 commit comments

Comments
 (0)