GitHub Advisoryadvisory · npm
GHSA-qccf-q7p4-3q3j Prototype Pollution in safe-object2
HIGH
Official page ↗
- Ecosystem
- npm
- Packages
- safe-object2
- Severity
- High
- Weaknesses
- CWE-1321
- Reviewed
- 2020-08-31
Affected packages
• npm safe-object2: >= 0.0.0 (no fix yet)
Description
All versions of `safe-object2` are vulnerable to prototype pollution. The `settter()` function does not restrict the modification of an Object's prototype, which may allow an attacker to add or modify an existing property that will exist on all objects.
Recommendation
No fix is currently available. Consider using an alternative package until a fix is made available.
Related
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness