-
Notifications
You must be signed in to change notification settings - Fork 916
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-2020-8203] Bump cheerio
to fix vulnerable lodash
dependency
#5797
[CVE-2020-8203] Bump cheerio
to fix vulnerable lodash
dependency
#5797
Conversation
cherio
to fix vulnerable lodash
dependencycheerio
to fix vulnerable lodash
dependency
Signed-off-by: Manasvini B Suryanarayana <manasvis@amazon.com>
27d3338
to
6787dd5
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5797 +/- ##
==========================================
- Coverage 67.03% 67.03% -0.01%
==========================================
Files 3296 3296
Lines 63343 63343
Branches 10087 10087
==========================================
- Hits 42465 42463 -2
- Misses 18429 18430 +1
- Partials 2449 2450 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Additional info: cheerio is used only by
With all tests passing, there is no concern about breaking changes, and none are declared on cheerio@1.0.0-rc1. This bump was required to solve a CVE on |
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-5797-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 aea8716aa711dc9f49ed649062b484f91a87da31
# Push it to GitHub
git push --set-upstream origin backport/backport-5797-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 |
Manual backport 2.x #5806 |
Signed-off-by: Manasvini B Suryanarayana <manasvis@amazon.com> Signed-off-by: yujin-emma <yujin.emma.work@gmail.com>
Description
CVE fix
Issues Resolved
https://advisories.aws.barahmand.com/advisories/CVE-2020-8203
Check List
yarn test:jest
yarn test:jest_integration