-
Notifications
You must be signed in to change notification settings - Fork 893
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
[CVE-2024-33883] Bump ejs from 3.1.7
to 3.1.10
#6770
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6770 +/- ##
===========================================
- Coverage 67.38% 55.12% -12.27%
===========================================
Files 3443 1204 -2239
Lines 67795 24625 -43170
Branches 11032 4168 -6864
===========================================
- Hits 45683 13574 -32109
+ Misses 19440 10400 -9040
+ Partials 2672 651 -2021
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Approving as 3.1.101 doesn't seem to exist and lint errors seem unrelated...
@@ -11,7 +11,7 @@ | |||
"dependencies": { | |||
"@osd/cross-platform": "1.0.0", | |||
"@osd/dev-utils": "1.0.0", | |||
"ejs": "^3.1.7", | |||
"ejs": "^3.1.10", |
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.
I'm assuming the title should be update to 3.1.10 instead of 3.1.101?
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.
+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.
Yes. 1
should be `. Will correct it and thank you for the careful check.
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.
Requesting change to accurate version
changelogs/fragments/6770.yml
Outdated
@@ -0,0 +1,2 @@ | |||
security: | |||
- [CVE-2024-33883] Bump ejs from `3.1.7` to `3.1.101 ([#6770](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/6770)) |
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 this be 3.1.10?
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. 1
should be `. Will correct it and thank you for the careful check.
Issue Resolved opensearch-project#6769 Signed-off-by: Anan Zhuang <[email protected]>
@@ -11,7 +11,7 @@ | |||
"dependencies": { | |||
"@osd/cross-platform": "1.0.0", | |||
"@osd/dev-utils": "1.0.0", | |||
"ejs": "^3.1.7", | |||
"ejs": "^3.1.10", |
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.
+1
3.1.7
to `3.1.1013.1.7
to 3.1.101
3.1.7
to 3.1.101
3.1.7
to 3.1.10
@bandinib-amzn @virajsanghvi I corrected the typo. Could you two help me to re-check this fix? |
The backport to
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/OpenSearch-Dashboards/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch-Dashboards/backport-2.x
# Create a new branch
git switch --create backport/backport-6770-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 016dcfd82bb93ca3e64d4eaf54d9a34795c02891
# Push it to GitHub
git push --set-upstream origin backport/backport-6770-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch-Dashboards/backport-2.x Then, create a pull request where the |
The backport to
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/OpenSearch-Dashboards/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch-Dashboards/backport-2.x
# Create a new branch
git switch --create backport/backport-6770-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 016dcfd82bb93ca3e64d4eaf54d9a34795c02891
# Push it to GitHub
git push --set-upstream origin backport/backport-6770-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch-Dashboards/backport-2.x Then, create a pull request where the |
Backport PR opensearch-project#6770 Issue Resolved opensearch-project#6769 Signed-off-by: Anan Zhuang <[email protected]>
…6924) Backport PR #6770 Issue Resolved #6769 Signed-off-by: Anan Zhuang <[email protected]>
Issue Resolved
#6769
Changelog
3.1.7
to3.1.10
Check List
yarn test:jest
yarn test:jest_integration