GitHub Advisoryadvisory · npm
GHSA-h6pr-c536-6rjg Prototype Pollution in object-path-set
HIGH
Official page ↗
- Aliases
- CVE-2021-23507
- Ecosystem
- npm
- Packages
- object-path-set
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-1321
- Reviewed
- 2022-02-07
Affected packages
• npm object-path-set: < 1.0.2 → fixed in 1.0.2
Description
The package object-path-set before 1.0.2 are vulnerable to Prototype Pollution via the setPath method, as it allows an attacker to merge object prototypes into it. *Note:* This vulnerability derives from an incomplete fix in https://security.snyk.io/vuln/SNYK-JS-OBJECTPATHSET-607908
Related
Alias · CVE (1)
- CVE-2021-23507 The package object-path-set before 1.0.2 are vulnerable to Prototype Pollution via the setPath method, as it allows an attacker to merge… vulnerability
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-23507 advisory
- https://github.com/skratchdot/object-path-set/commit/2d67a714159c4099589b6661fa84e6d2adc31761 web
- https://github.com/skratchdot/object-path-set web
- https://github.com/skratchdot/object-path-set/blob/577f5299fed15bb9edd11c940ff3cf0b9f4748d5/index.js%23L8 web
- https://snyk.io/blog/remediate-javascript-type-confusion-bypassed-input-validation web
- https://snyk.io/vuln/SNYK-JS-OBJECTPATHSET-2388576 web