GHSA-4g88-fppr-53pp

Suggest an improvement
Source
https://github.com/advisories/GHSA-4g88-fppr-53pp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/08/GHSA-4g88-fppr-53pp/GHSA-4g88-fppr-53pp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4g88-fppr-53pp
Aliases
Published
2019-08-27T17:43:33Z
Modified
2023-11-01T04:50:08.253220Z
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 set-value
Details

Versions of set-value prior to 3.0.1 or 2.0.1 are vulnerable to Prototype Pollution. The set function fails to validate which Object properties it updates. This allows attackers to modify the prototype of Object, causing the addition or modification of an existing property on all objects.

Recommendation

If you are using set-value 3.x, upgrade to version 3.0.1 or later. If you are using set-value 2.x, upgrade to version 2.0.1 or later.

References

Affected packages

npm / set-value

Package

Affected ranges

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

Ecosystem specific

{
    "affected_functions": [
        "(set-value)"
    ]
}

npm / set-value

Package

Affected ranges

Type
SEMVER
Events
Introduced
3.0.0
Fixed
3.0.1

Affected versions

3.*

3.0.0

Ecosystem specific

{
    "affected_functions": [
        "(set-value)"
    ]
}