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 browserify-sign to address CVE-2023-46234 #240

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

derek-ho
Copy link
Collaborator

@derek-ho derek-ho commented Oct 27, 2023

Description

Bump browserify-sign to address CVE-2023-46234

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --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.

Signed-off-by: Derek Ho <[email protected]>
version "4.1.0"
resolved "https://registry.yarnpkg.com/browserify-rsa/-/browserify-rsa-4.1.0.tgz#b2fd06b5b75ae297f7ce2dc651f918f5be158c8d"
integrity sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==
dependencies:
bn.js "^5.0.0"
randombytes "^2.0.1"

browserify-sign@^4.0.0:
Copy link
Member

Choose a reason for hiding this comment

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

it was already ^4.0.0, no need to force resolve

@joshuali925 joshuali925 merged commit a23dbbb into opensearch-project:main Nov 1, 2023
7 checks passed
@opensearch-trigger-bot
Copy link
Contributor

The backport to 2.x failed:

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

To backport manually, run these commands in your terminal:

# Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/dashboards-reporting/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/dashboards-reporting/backport-2.x
# Create a new branch
git switch --create backport/backport-240-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 a23dbbbf67c9e5399ee53ac910c3f9f019a845a6
# Push it to GitHub
git push --set-upstream origin backport/backport-240-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/dashboards-reporting/backport-2.x

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

joshuali925 pushed a commit to joshuali925/dashboards-reporting that referenced this pull request Nov 1, 2023
Signed-off-by: Derek Ho <[email protected]>
(cherry picked from commit a23dbbb)
mengweieric pushed a commit that referenced this pull request Nov 7, 2023
Signed-off-by: Derek Ho <[email protected]>
(cherry picked from commit a23dbbb)

Co-authored-by: Derek Ho <[email protected]>
@vamsi-amazon
Copy link
Member

backported here: #242
Removing Backport failed label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants