MediumGHSA-8fr3-hfg3-gpgpCVE-2022-0122
Open Redirect in node-forge
Published 21 Jan 2022 · Updated 8 Nov 2023
Affected package
node-forgenpm
- Affected
- <1.0.0
- Fixed in
- 1.0.0
Update to the fixed version for your release line, for example:
npm install node-forge@1.0.0Details
parseUrl functionality in node-forge mishandles certain uses of backslash such as https:/\/\/\ and interprets the URI as a relative path.
Is GHSA-8fr3-hfg3-gpgp in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected node-forge, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.