Prototype Pollution in node-forge util.setPath API
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub.
Summary
### Impact `forge.util.setPath` had a potential prototype pollution issue if called with untrusted keys. This API was not used by forge itself. ### Patches The `forge.util.setPath` API and related functions were removed in 0.10.0. ### Workarounds Don't call `forge.util.setPath` directly or indirectly with untrusted keys. ### References - https://security.snyk.io/vuln/SNYK-JS-NODEFORGE-598677 - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7720 ### For more information If you have any questions or comments about this advisory: * Open an issue in [forge](https://github.com/digitalbazaar/forge). * Email us at [email protected].
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | node-forge (npm) | before 0.10.0 | 0.10.0 | Patch available | GHSA-wxgw-qj99-44c2 |
- node-forge (npm) Vendor— Affected before 0.10.0 Fixed in 0.10.0 Patch available GHSA-wxgw-qj99-44c2
Remediation
- Fix · GHSA-wxgw-qj99-44c2 node-forge (npm) Fixed in 0.10.0 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-wxgw-qj99-44c2
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences