What’s Vulnerable › Vulnerabilities
GHSA-5rrq-pxf6-6jx5: Prototype Pollution in node-forge debug 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
- Weakness: CWE-1321
Description
### Impact The `forge.debug` API had a potential prototype pollution issue if called with untrusted input. The API was only used for internal debug purposes in a safe way and never documented or advertised. It is suspected that uses of this API, if any exist, would likely not have used untrusted inputs in a vulnerable way. ### Patches The `forge.debug` API and related functions were removed in 1.0.0. ### Workarounds Don't use the `forge.debug` API directly or indirectly with untrusted input. ### References - https://www.huntr.dev/bounties/1-npm-node-forge/ ### 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 1.0.0 — fixed in 1.0.0
How to fix
Upgrade to a fixed version: Npm Node-Forge 1.0.0. Check the vendor advisory for mitigations.
References
- https://github.com/digitalbazaar/forge/security/advisories/GHSA-5rrq-pxf6-6jx5
- https://github.com/digitalbazaar/forge
Get alerted when GHSA-5rrq-pxf6-6jx5 or the next vulnerability affects your stack