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.
References
Link | Resource |
---|---|
https://github.com/algolia/algoliasearch-helper-js/blob/3.5.5/src/SearchParameters/index.js%23L291 | Broken Link |
https://github.com/algolia/algoliasearch-helper-js/commit/4ff542b70b92a6b81cce8b9255700b0bc0817edd | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-1570421 | Exploit Third Party Advisory |
https://github.com/algolia/algoliasearch-helper-js/blob/3.5.5/src/SearchParameters/index.js%23L291 | Broken Link |
https://github.com/algolia/algoliasearch-helper-js/commit/4ff542b70b92a6b81cce8b9255700b0bc0817edd | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-1570421 | Exploit Third Party Advisory |
Configurations
History
21 Nov 2024, 05:51
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/algolia/algoliasearch-helper-js/blob/3.5.5/src/SearchParameters/index.js%23L291 - Broken Link | |
References | () https://github.com/algolia/algoliasearch-helper-js/commit/4ff542b70b92a6b81cce8b9255700b0bc0817edd - Patch, Third Party Advisory | |
References | () https://snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-1570421 - Exploit, Third Party Advisory | |
CVSS |
v2 : v3 : |
v2 : 6.8
v3 : 5.9 |
Information
Published : 2021-11-19 20:15
Updated : 2024-11-21 05:51
NVD link : CVE-2021-23433
Mitre link : CVE-2021-23433
CVE.ORG link : CVE-2021-23433
JSON object : View
Products Affected
algolia
- algoliasearch-helper
CWE
CWE-1321
Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')