Skip to content

Prototype Pollution in node-forge util.setPath API

Low severity GitHub Reviewed Published Jan 6, 2022 in digitalbazaar/forge • Updated Jan 11, 2023

Package

npm node-forge (npm)

Affected versions

< 0.10.0

Patched versions

0.10.0

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

For more information

If you have any questions or comments about this advisory:

References

@davidlehn davidlehn published to digitalbazaar/forge Jan 6, 2022
Reviewed Jan 7, 2022
Published to the GitHub Advisory Database Jan 8, 2022
Last updated Jan 11, 2023

Severity

Low

Weaknesses

No CWEs

CVE ID

No known CVE

GHSA ID

GHSA-wxgw-qj99-44c2

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.