CRITICAL9.8
GHSA-vpf5-82c8-9v36
Prototype Pollution in algoliasearch-helper
Quick fix
GHSA-vpf5-82c8-9v36 — algoliasearch-helper: upgrade to the fixed version with the command below.
npm install algoliasearch-helper@3.6.2Details
The package algoliasearch-helper before 3.6.2 are vulnerable to Prototype Pollution due to use of the merge function in src/SearchParameters/index.jsSearchParameters._parseNumbers without any protection against prototype properties. Note that this vulnerability is only exploitable if the implementation allows users to define arbitrary search patterns.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-23433[ADVISORY]
- https://github.com/algolia/algoliasearch-helper-js/commit/4ff542b70b92a6b81cce8b9255700b0bc0817edd[WEB]
- https://github.com/algolia/algoliasearch-helper-js[PACKAGE]
- https://github.com/algolia/algoliasearch-helper-js/blob/3.5.5/src/SearchParameters/index.js%23L291[WEB]
- https://snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-1570421[WEB]