5.9medium
Prototype Pollution
- Severity
- 5.9medium CVSS:3.1 by snyk
- Exploit likelihood
- 1.95% (higher than 80% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-vpf5-82c8-9v36SNYK-JS-ALGOLIASEARCHHELPER-1570421
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
| Product or package | Versions | Reported by |
|---|---|---|
| algoliasearch-helper | from unspecified before 3.6.2 | CVE List |
| algoliasearch-helper (npm) | before 3.6.2 | GitHub Advisory Database |
| algolia algoliasearch-helper | before 3.6.2 | NVD |
All scores
| snyk | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P |
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
El paquete algoliasearch-helper versiones anteriores a 3.6.2, es vulnerable a una contaminación de prototipos debido al uso de la función merge en el archivo src/SearchParameters/index.jsSearchParameters._parseNumbers sin ninguna protección contra las propiedades del prototipo. Tenga en cuenta que esta vulnerabilidad sólo es explotable si la implementación permite a usuarios definir patrones de búsqueda arbitrarios
References
| https://snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-1570421 | exploit, third-party-advisory, web | |
| https://github.com/algolia/algoliasearch-helper-js/blob/3.5.5/src/SearchParameters/index.js%23L291 | broken-link, web | |
| https://github.com/algolia/algoliasearch-helper-js/commit/4ff542b70b92a6b81cce8b9255700b0bc0817edd | patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-23433 | advisory | |
| https://github.com/algolia/algoliasearch-helper-js | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23433 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vpf5-82c8-9v36 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2021-23433 changed 2026-06-17 | Public domain |