Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
513: fix(security): minimatch ReDoS vulnerability r=curquiza a=mdubus # Pull Request ## What does this PR do? The `minimatch` package has a vulnerability issue with versions < 3.0.5. This package is used internally through `recursive-readdir`: <img width="837" alt="Capture d’écran 2024-05-14 à 10 34 44" src="https://github.com/meilisearch/mini-dashboard/assets/30866152/3c48152f-f247-40df-bc6a-4a14da92e734"> The problem is that `recursive-readdir` is used by react-script (create-react-app), which is not maintained anymore. To fix this issue, the `package.json` has been updated with the [resolutions field](https://classic.yarnpkg.com/lang/en/docs/selective-version-resolutions/) to update `minimatch` to the v3.0.5 (fixing the vulnerability) for the package using the vulnerable version (`recursive-readdir`) This should help fixing the vulnerability issue. ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: Morgane Dubus <[email protected]>
- Loading branch information