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

Bump bouncycastle from 1.77 to 1.78 #13243

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

reta
Copy link
Collaborator

@reta reta commented Apr 16, 2024

Description

Bump bouncycastle from 1.77 to 1.78

Related Issues

N/A

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
  • Commits are signed per the DCO using --signoff
  • Commit changes are listed out in CHANGELOG.md file (See: Changelog)
  • 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: Andriy Redko <andriy.redko@aiven.io>
@reta reta added the dependencies Pull requests that update a dependency file label Apr 16, 2024
@reta reta added backport PRs or issues specific to backporting features or enhancments backport 2.x Backport to 2.x branch and removed backport PRs or issues specific to backporting features or enhancments labels Apr 16, 2024
Copy link
Contributor

❕ Gradle check result for ac93409: UNSTABLE

  • TEST FAILURES:
      2 org.opensearch.cluster.coordination.AwarenessAttributeDecommissionIT.testConcurrentDecommissionAction

Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure.

Copy link

codecov bot commented Apr 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.44%. Comparing base (b15cb0c) to head (ac93409).
Report is 179 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #13243      +/-   ##
============================================
+ Coverage     71.42%   71.44%   +0.02%     
- Complexity    59978    60654     +676     
============================================
  Files          4985     5040      +55     
  Lines        282275   285432    +3157     
  Branches      40946    41335     +389     
============================================
+ Hits         201603   203924    +2321     
- Misses        63999    64678     +679     
- Partials      16673    16830     +157     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@reta reta merged commit 5375970 into opensearch-project:main Apr 16, 2024
79 of 81 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Apr 16, 2024
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
(cherry picked from commit 5375970)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
reta pushed a commit that referenced this pull request Apr 16, 2024
(cherry picked from commit 5375970)

Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@mwilso3
Copy link

mwilso3 commented Apr 30, 2024

OS 1.3.x is currently on BC 1.75 which is vulnerable to a few new CVEs (CVE-2024-30172, CVE-2024-30171 and CVE-2024-29857).

Would it be possible to backport these BC upgrades to 1.3.x?

@dblock
Copy link
Member

dblock commented Apr 30, 2024

@bbarani any reason not to backport these?

@mwilso3 want to help?

@reta
Copy link
Collaborator Author

reta commented Apr 30, 2024

@dblock I think we could backport but we need to make changes in lockstep with security plugin, there were a few changes in permissions that have to be brought in.

@dblock
Copy link
Member

dblock commented Apr 30, 2024

Thanks @reta, @mwilso3 what is the sev for the CVEs? I think we only backport highs and criticals to 1.x, so the verdict is yes, but you'll have to do the work. Let us know how we can help.

@bbarani
Copy link
Member

bbarani commented Apr 30, 2024

@bbarani any reason not to backport these?

@mwilso3 want to help?

I don't see any issues in backporting CVE's to 1.x and 1.3 branch. Keep in mind, some of the library updates will require additional work in actual code apart from version bump.

@mwilso3
Copy link

mwilso3 commented May 1, 2024

One of the CVEs is high, other two are medium.

we need to make changes in lockstep with security plugin, there were a few changes in permissions that have to be brought in.

Happy to do the work however haven't worked in the OS codebase so might need some guidance or elaboration on the above. I'll get started on the backport and reach out with any issues.

mwilso3 pushed a commit to mwilso3/OpenSearch-fork that referenced this pull request May 1, 2024
Signed-off-by: Milly Wilson <mwilson3@atlassian.com>
mwilso3 pushed a commit to mwilso3/OpenSearch-fork that referenced this pull request May 1, 2024
reta added a commit that referenced this pull request May 6, 2024
…0172, CVE-2024-30171 and CVE-2024-29857) (#13484)

* [Backport][1.3] Bump BouncyCastle to 1.76 (#10219)

Signed-off-by: Milly Wilson <mwilson3@atlassian.com>

* [Backport][1.3] Update BouncyCastle dependencies from jdk15to18 to jdk18on (#12317)

Signed-off-by: Milly Wilson <mwilson3@atlassian.com>

* [Backport][1.3] Bump bouncycastle from 1.77 to 1.78 (#13243)

Signed-off-by: Milly Wilson <mwilson3@atlassian.com>

* PR#13484 Re-work

* Update BC from 1.78 to 1.78.1 with latest fixes.
* Remove incorrect jdk15to18 module replacement definitions as artifacts are still supported.
* Add release notes.
* Remove unneccessary license additions.

Signed-off-by: Milly Wilson <mwilson3@atlassian.com>

* PR#13484 Re-work

* Rename licenses from jdk18on to jdk15to18 and 1.78 to 1.78.1.
* Update SHAs for BC 1.78.1 licenses.

Signed-off-by: Milly Wilson <mwilson3@atlassian.com>

* PR#13484 Re-work

Update Changelog and remove release notes file as this will be created upon release.

Signed-off-by: Milly Wilson <mwilson3@atlassian.com>

---------

Signed-off-by: Milly Wilson <mwilson3@atlassian.com>
Co-authored-by: Andrey Pleskach <ples@aiven.io>
Co-authored-by: Stephen Crawford <65832608+scrawfor99@users.noreply.github.com>
Co-authored-by: Andriy Redko <andriy.redko@aiven.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x Backport to 2.x branch dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants