Advisory

GHSA-wxgw-qj99-44c2

Also known as: None

Summary

Prototype Pollution in node-forge util.setPath API

Details

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:

Severity

Low Basis: The source's own band: LOW

Dates

Published
2022-01-08 00:22 UTC
Modified
2022-01-07 22:20 UTC

Affected packages and fixes

node-forge

npm · All systems

Affected

  • introduced 0, fixed 0.10.0 (semver)

Fixed versions

0.10.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences