Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-23433

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-23433
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:40 UTC · Revision 1

Source evidence

CVE-2021-23433

core-osv · Original source

Published 19 Nov 2021, 20:15 UTC

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.

osv:CVE-2021-23433
Complete source record
{
  "id": "c2b635187c90907cb0c9ecb8799e756098cebe837126df148b6e72042c274be8",
  "url": "https://osv.dev/vulnerability/CVE-2021-23433",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-23433",
    "summary": "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.",
    "evidence": "osv:CVE-2021-23433",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2021-23433",
      "aliases": [
        "CVE-2021-23433",
        "GHSA-vpf5-82c8-9v36",
        "SNYK-JS-ALGOLIASEARCHHELPER-1570421"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/algolia/algoliasearch-helper-js",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0da37cc540275a7500db246155a8d783b45b514e"
                },
                {
                  "fixed": "4ff542b70b92a6b81cce8b9255700b0bc0817edd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:algolia:algoliasearch-helper:*:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.6.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "4ff542b70b92a6b81cce8b9255700b0bc0817edd"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.6.1",
            "3.6.0",
            "3.5.5",
            "3.5.4",
            "3.5.3",
            "3.5.2",
            "3.5.1",
            "3.5.0",
            "3.4.5",
            "3.4.4",
            "3.4.3",
            "3.4.2",
            "3.4.1",
            "3.4.0",
            "3.3.4",
            "3.3.3",
            "3.3.2",
            "3.3.1",
            "3.3.0",
            "3.2.2",
            "3.2.1",
            "3.2.0",
            "3.1.2",
            "3.1.1",
            "3.1.0",
            "3.0.0",
            "2.28.0",
            "2.26.1",
            "2.26.0",
            "2.25.1",
            "2.25.0",
            "2.24.0",
            "2.23.2",
            "2.23.1",
            "2.23.0",
            "2.22.0",
            "2.21.2",
            "2.21.1",
            "2.21.0",
            "2.20.1",
            "2.20.0",
            "2.19.0",
            "2.18.1",
            "2.18.0",
            "2.17.1",
            "2.17.0",
            "2.16.0",
            "2.15.0",
            "2.14.0",
            "2.13.0",
            "2.12.0",
            "2.11.1",
            "2.11.0",
            "2.10.0",
            "2.9.1",
            "2.9.0",
            "2.8.1",
            "2.6.7",
            "2.6.6",
            "2.6.5",
            "2.6.4",
            "2.6.3",
            "2.6.2",
            "2.6.1",
            "2.6.0",
            "2.5.1",
            "2.5.0",
            "2.4.0",
            "2.3.6",
            "2.3.5",
            "2.3.4",
            "2.3.3",
            "2.3.2",
            "2.3.1",
            "2.3.0",
            "2.2.0",
            "2.1.2",
            "2.1.1",
            "2.1.0",
            "2.0.4",
            "2.0.3",
            "2.0.2",
            "2.0.1",
            "1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23433.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:32.546056678Z",
      "provider": "osv",
      "references": [
        "https://github.com/algolia/algoliasearch-helper-js/blob/3.5.5/src/SearchParameters/index.js%23L291",
        "https://github.com/algolia/algoliasearch-helper-js/commit/4ff542b70b92a6b81cce8b9255700b0bc0817edd",
        "https://snyk.io/vuln/SNYK-JS-ALGOLIASEARCHHELPER-1570421"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-23433",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 385525,
  "published_at": "2021-11-19T20:15:17.903+00:00"
}