Vulnerability · Published Nov 19, 2021 · Assigned by snyk
CVE-2021-23433Prototype Pollution
Medium 5.9
In plain English
A medium-severity security flaw in algoliasearch-helper. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)1.9%top 19.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | algoliasearch-helper | 3.6.2 | GHSA-vpf5-82c8-9v36 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | algoliasearch-helper | unspecified – before 3.6.2 |
References
- https://snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-1570421 x_refsource_MISC
- https://github.com/algolia/algoliasearch-helper-js/blob/3.5.5/src/SearchParameters/index.js%23L291 x_refsource_MISC
- https://github.com/algolia/algoliasearch-helper-js/commit/4ff542b70b92a6b81cce8b9255700b0bc0817edd x_refsource_MISC