GitHub Advisoryadvisory · npm

GHSA-vpf5-82c8-9v36 Prototype Pollution in algoliasearch-helper

CRITICAL Published 2021-11-23 Modified 2022-07-05 Official page ↗
Aliases
CVE-2021-23433
Ecosystem
npm
Packages
algoliasearch-helper
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-1321, CWE-915
Reviewed
2021-11-22

Affected packages

• npm algoliasearch-helper: < 3.6.2 → fixed in 3.6.2

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.

Related

Alias · CVE (1)

  • CVE-2021-23433 The package algoliasearch-helper before 3.6.2 are vulnerable to Prototype Pollution due to use of the merge function in… vulnerability

Weakness · CWE (2)

  • CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
  • CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes weakness

References