Skip to content

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in node-forge debug API.

Low
davidlehn published GHSA-5rrq-pxf6-6jx5 Jan 6, 2022

Package

npm node-forge (npm)

Affected versions

< 1.0.0

Patched versions

1.0.0

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

For more information

If you have any questions or comments about this advisory:

Severity

Low

CVE ID

No known CVE

Weaknesses