rushstack
rushstack copied to clipboard
[rushstack] ajv must bump to 8.18.0 to address CVE
Summary
various rushstack projects have a vulnerable version of ajv. We need to bump the version of ajv anywhere to 8.18.0
ajv has ReDoS when using $data option
https://github.com/advisories/GHSA-2g4f-4pwh-qvx6
Impacted projects include:
- @rushstack/eslint-config
- @rushstack/eslint-plugin
- @rushstack/eslint-plugin-packlets
- @rushstack/eslint-plugin-security
- @rushstack/node-core-library
- @rushstack/heft
- @rushstack/node-core-library
- @rushstack/set-webpack-public-path-plugin
- @rushstack/terminal
- @rushstack/webpack5-localization-plugin
- @rushstack/ts-command-line
- @rushstack/heft-sass-plugin
- @rushstack/typings-generator
- @rushstack/debug-certificate-manager
- @rushstack/heft-dev-cert-plugin
- @rushstack/heft-webpack5-plugin
When can we expect new versions to be published? When installing the latest versions of Rush libraries, I'm still getting the old version of ajv:
┌───────────────┬─────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ Issue │ ajv has ReDoS when using `$data` option │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Severity │ moderate │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Dependency │ ajv │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Version │ 8.13.0 │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Full path │ packages > rush-artifactory-cache-plugin > @microsoft/rush-lib > @rushstack/node-core-library > ajv │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Vulnerable in │ >=7.0.0-alpha.0 <8.18.0 │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Patched in │ >=8.18.0 │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Suggested fix │ Upgrade to version 8.18.0 or later │
├───────────────┼─────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ More info │ https://github.com/advisories/GHSA-2g4f-4pwh-qvx6 │
└───────────────┴─────────────────────────────────────────────────────────────────────────────────────────────────────┘