-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade org.bouncycastle:bcprov-jdk18on to 1.78.1 #3004
Conversation
Signed-off-by: Peng Huo <penghuo@gmail.com>
datasources/build.gradle
Outdated
implementation ('com.amazonaws:aws-encryption-sdk-java:2.4.1') { | ||
exclude group: 'org.bouncycastle', module: 'bcprov-ext-jdk18on' | ||
} | ||
implementation 'org.bouncycastle:bcprov-jdk18on:1.78.1' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we pull version from core instead of hard coding? https://github.com/opensearch-project/OpenSearch/blob/main/buildSrc/version.properties#L57
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we even need to bring this dependency in? I don't see any usage of it in the repo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. align with core version.
Prometheus datasource use encryption? @vamsi-amazon could u help confirm?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, we are using it for storing basic credentials for prometheus datasource.
Signed-off-by: Peng Huo <penghuo@gmail.com>
Signed-off-by: Peng Huo <penghuo@gmail.com> (cherry picked from commit 2506468) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Peng Huo <penghuo@gmail.com> (cherry picked from commit 2506468) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
[In OpenSearch 2.16 specifically OpenSearch-SQL, Bouncy Castle is still at version 1.75 and has 4 medium vulnerabilities listed against it in Black Duck:
BDSA-2023-3876/ https://github.com/advisories/GHSA-v435-xc8x-wvr9
BDSA-2024-1960/ https://github.com/advisories/GHSA-8xfc-gm6g-vgpv
BDSA-2023-3876/ https://github.com/advisories/GHSA-v435-xc8x-wvr9
BDSA-2024-2378/ https://github.com/advisories/GHSA-4h8f-2wvx-gg5w]
Related Issues
similar issue. opensearch-project/ml-commons#2903
Check List
--signoff
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.