{"id":"CVE-2021-23433","published":"2021-11-19T19:25:12Z","modified":"2024-09-16T19:45:53Z","title":"Prototype Pollution","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01947,"percentile":0.80738,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-1570421","tags":["x_refsource_MISC"]},{"url":"https://github.com/algolia/algoliasearch-helper-js/blob/3.5.5/src/SearchParameters/index.js%23L291","tags":["x_refsource_MISC"]},{"url":"https://github.com/algolia/algoliasearch-helper-js/commit/4ff542b70b92a6b81cce8b9255700b0bc0817edd","tags":["x_refsource_MISC"]}],"priority":{"score":20.3,"factors":[{"name":"EPSS percentile","points":16.15},{"name":"CVSS severity","points":4.13}]},"affectedVersions":[{"vendor":"n/a","product":"algoliasearch-helper","versions":[">= unspecified, < 3.6.2"]}],"affected":[{"ecosystem":"npm","package":"algoliasearch-helper","vulnerableRanges":["<3.6.2"],"patched":["3.6.2"],"from":["GHSA-vpf5-82c8-9v36"],"provenance":"source"}],"summary":{"text":"The prototype pollution flaw lives in the algoliasearch-helper npm package before version 3.6.2, specifically in the _parseNumbers function of src/SearchParameters/index.js, where a merge operation runs without protection against prototype properties. An attacker can exploit it over the network without authentication or user interaction, but only where the application lets users define arbitrary search patterns, and the impact is availability (denial of service).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:18:00Z"},"euvd":{"id":"EUVD-2021-2399","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-algoliasearch-helper-cve-2021-23433","children":[{"from":"CVE-2021-23433","to":"CVE-2025-3193","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/functions/merge.js"],"commits":["https://github.com/algolia/algoliasearch-helper-js/commit/4ff542b70b92a6b81cce8b9255700b0bc0817edd","https://github.com/algolia/algoliasearch-helper-js/commit/776dff23c87b0902e554e02a8c2567d2580fe12a"],"basis":"shared function","functions":["_merge"]},{"kind":"similar","provenance":"machine","score":0.4,"basis":"same package + description similarity"}]}]}}