PT-2021-15521 · Unknown · Algoliasearch-Helper

Divyesh Prajapati

·

Published

2021-11-19

·

Updated

2025-10-05

·

CVE-2021-23433

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions algoliasearch-helper versions prior to 3.6.2
Description The issue arises from the use of the merge function in src/SearchParameters/index.js, specifically in the SearchParameters. parseNumbers function, without protection against prototype properties, leading to Prototype Pollution. This is only exploitable if the implementation allows users to define arbitrary search patterns.
Recommendations For versions prior to 3.6.2, update to version 3.6.2 or later to resolve the issue. As a temporary workaround, consider restricting user input to prevent arbitrary search patterns.

Exploit

Fix

Prototype Pollution

Weakness Enumeration

Related Identifiers

CVE-2021-23433
GHSA-VPF5-82C8-9V36
SNYK-JS-ALGOLIASEARCHHELPER-1570421

Affected Products

Algoliasearch-Helper