opensearch-project / cross-cluster-replication

Synchronize your data across multiple clusters for lower latencies and higher availability
https://opensearch.org/docs/latest/replication-plugin/index/
Apache License 2.0
47 stars 58 forks source link

Fix for CVE-2023-50570(Bumping up to latest version of ipaddress library) #1339

Closed mohitamg closed 6 months ago

mohitamg commented 6 months ago

Description

Bumping up to latest version of ipaddress library to fix CVE-2023-50570 mentioned below

Issues Resolved

Fixes this CVE (https://nvd.nist.gov/vuln/detail/CVE-2023-50570)

Check List

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.

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 76.34%. Comparing base (74dfcd1) to head (d1ff016).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1339 +/- ## ============================================ - Coverage 76.74% 76.34% -0.40% + Complexity 1049 1048 -1 ============================================ Files 141 141 Lines 4782 4782 Branches 526 526 ============================================ - Hits 3670 3651 -19 - Misses 760 776 +16 - Partials 352 355 +3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

monusingh-1 commented 6 months ago

Thanks Mohit

opensearch-trigger-bot[bot] commented 6 months ago

The backport to 2.x failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-2.x 2.x
# Navigate to the new working tree
cd .worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-1339-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 bfbfdc608e0ba668d658c07ff67412d854011721
# Push it to GitHub
git push --set-upstream origin backport/backport-1339-to-2.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-2.x

Then, create a pull request where the base branch is 2.x and the compare/head branch is backport/backport-1339-to-2.x.

opensearch-trigger-bot[bot] commented 6 months ago

The backport to 1.3 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-1.3 1.3
# Navigate to the new working tree
cd .worktrees/backport-1.3
# Create a new branch
git switch --create backport/backport-1339-to-1.3
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 bfbfdc608e0ba668d658c07ff67412d854011721
# Push it to GitHub
git push --set-upstream origin backport/backport-1339-to-1.3
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-1.3

Then, create a pull request where the base branch is 1.3 and the compare/head branch is backport/backport-1339-to-1.3.

opensearch-trigger-bot[bot] commented 6 months ago

The backport to 1.x failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-1.x 1.x
# Navigate to the new working tree
cd .worktrees/backport-1.x
# Create a new branch
git switch --create backport/backport-1339-to-1.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 bfbfdc608e0ba668d658c07ff67412d854011721
# Push it to GitHub
git push --set-upstream origin backport/backport-1339-to-1.x
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-1.x

Then, create a pull request where the base branch is 1.x and the compare/head branch is backport/backport-1339-to-1.x.