Skip to content
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

Merged
merged 3 commits into from
Sep 13, 2024

Conversation

penghuo
Copy link
Collaborator

@penghuo penghuo commented Sep 9, 2024

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

  • New functionality includes testing.
  • New functionality has been documented.
  • New functionality has javadoc added.
  • New functionality has a user manual doc added.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

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.

Signed-off-by: Peng Huo <penghuo@gmail.com>
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'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

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

Copy link
Collaborator Author

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?

Copy link
Member

@vamsimanohar vamsimanohar Sep 11, 2024

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.

derek-ho
derek-ho previously approved these changes Sep 10, 2024
Signed-off-by: Peng Huo <penghuo@gmail.com>
@penghuo penghuo merged commit 2506468 into opensearch-project:main Sep 13, 2024
12 of 14 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 13, 2024
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>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 13, 2024
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport 2.17 security fix Security fix generated by WhiteSource
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants