GHSA-vpf5-82c8-9v36

Suggest an improvement
Source
https://github.com/advisories/GHSA-vpf5-82c8-9v36
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/11/GHSA-vpf5-82c8-9v36/GHSA-vpf5-82c8-9v36.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-vpf5-82c8-9v36
Aliases
Published
2021-11-23T21:15:35Z
Modified
2025-01-08T10:42:02.796220Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Prototype Pollution in algoliasearch-helper
Details

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.

Database specific
{
    "severity": "CRITICAL",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-1321",
        "CWE-915"
    ],
    "github_reviewed_at": "2021-11-22T19:34:30Z",
    "nvd_published_at": "2021-11-19T20:15:00Z"
}
References

Affected packages

npm / algoliasearch-helper

Package

Name
algoliasearch-helper
View open source insights on deps.dev
Purl
pkg:npm/algoliasearch-helper

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.6.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/11/GHSA-vpf5-82c8-9v36/GHSA-vpf5-82c8-9v36.json"