GHSA-wxgw-qj99-44c2

Suggest an improvement
Source
https://github.com/advisories/GHSA-wxgw-qj99-44c2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-wxgw-qj99-44c2/GHSA-wxgw-qj99-44c2.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-wxgw-qj99-44c2
Downstream
Published
2022-01-08T00:22:40Z
Modified
2022-01-07T22:20:50Z
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

For more information

If you have any questions or comments about this advisory:

Database specific
{
    "cwe_ids":  [],
    "github_reviewed":  true,
    "github_reviewed_at":  "2022-01-07T22:20:50Z",
    "nvd_published_at":  null,
    "severity":  "LOW"
}
References

Affected packages

npm / node-forge

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.10.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-wxgw-qj99-44c2/GHSA-wxgw-qj99-44c2.json"