What’s Vulnerable › Vulnerabilities
GHSA-wxgw-qj99-44c2: Prototype Pollution in node-forge util.setPath API
- Severity: low (CVSS 3.0)
- Exploited in the wild: not listed in CISA KEV
- Public exploit or detection template: none known
- Published: 2022-01-08 · updated 2022-01-07
Description
### 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 support@digitalbazaar.com.
Affected products
- Npm Node-Forge: before 0.10.0 — fixed in 0.10.0
How to fix
Upgrade to a fixed version: Npm Node-Forge 0.10.0. Check the vendor advisory for mitigations.
References
Get alerted when GHSA-wxgw-qj99-44c2 or the next vulnerability affects your stack