CVE-2021-23433
Algoliasearch-helper vulnerability
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.
Affected products
Algoliasearch-helper. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Algoliasearch-helper runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/algolia/algoliasearch-helper-js/commit/4ff542b70b92a6b81cce8b9255700b0bc0817edd · Patch
- snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-1570421 · Exploit
- github.com/algolia/algoliasearch-helper-js/blob/3.5.5/src/SearchParameters/index.js%23L291
- nvd.nist.gov/vuln/detail/CVE-2021-23433
- cve.org/CVERecord?id=CVE-2021-23433
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.