-
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-2022-25858][1.x]Bump terser from 4.8.0 to 4.8.1 #3726
Conversation
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## 1.x #3726 +/- ##
=======================================
Coverage 67.50% 67.50%
=======================================
Files 3044 3044
Lines 58692 58692
Branches 8902 8902
=======================================
Hits 39619 39619
Misses 16925 16925
Partials 2148 2148
Flags with carried forward coverage won't be shown. Click here to find out more. Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Issue Resolved: opensearch-project#1907 Signed-off-by: Anan Zhuang <ananzh@amazon.com>
…3786) * [CVE-2022-25858][1.x] Bump terser from 4.8.0 to 4.8.1 (#3726) Issue Resolved: #1907 Signed-off-by: Anan Zhuang <ananzh@amazon.com> (cherry picked from commit 39818e3) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Josh Romero <rmerqg@amazon.com> --------- Signed-off-by: Josh Romero <rmerqg@amazon.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Josh Romero <rmerqg@amazon.com>
The package terser before 4.8.1, from 5.0.0 and before 5.14.2 is vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure usage of regular expressions. Currently, 1.x is using version 4.8.0.
terser
is a dependency ofterser-webpack-plugin
. We are two versions ofterser-webpack-plugin
in 1.x, 2.3.7 and 1.4.4.Both range of
"terser": "^4.6.12"
and"terser": "^4.1.2"
indicate that terser could be bumped to 4.8.1. The fix is to set a resolution to the target version.Issues Resolved
#1907
Check List
yarn test:jest
yarn test:jest_integration
yarn test:ftr