Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ GHSA-gf8q-jrpm-jvxq — node-forge (CVE-2022-0122)

🟢 CVSS 2.0 — Low ✅ No Known Exploit CWE-601 OSV
2.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

URL parsing in node-forge could lead to undesired behavior.

Impact

The regex used for the forge.util.parseUrl API would not properly parse certain inputs resulting in a parsed data structure that could lead to undesired behavior.

Patches

forge.util.parseUrl and other very old related URL APIs were removed in 1.0.0 in favor of letting applications use the more modern WHATWG URL Standard API.

Workarounds

Ensure code does not directly or indirectly call forge.util.parseUrl with untrusted input.

References

  • https://www.huntr.dev/bounties/41852c50-3c6d-4703-8c55-4db27164a4ae/

For more information

If you have any questions or comments about this advisory:

  • Open an issue in [forge](https://github.com/digitalbazaar/forge)
  • Email us at support@digitalbazaar.com

Weakness class

GHSA-gf8q-jrpm-jvxq is classified as CWE-601: Open Redirect. A redirect target is taken from user input, so a trusted link can send the visitor to an attacker's site.

Affected software

GHSA-gf8q-jrpm-jvxq is recorded against 1 package.

  • node-forge

Timeline and source

Published on 8 January 2022 and last revised on 7 January 2022. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

github.com (Web)
nvd.nist.gov (Advisory)
github.com (Web)
www.huntr.dev (Web)

Details

Severity LOW
CVSS Score 2.0
CVSS Vector N/A
CWE CWE-601
Public Exploit ✅ No
Source OSV
Published 2022-01-08
Updated 2026-08-20
Modified 2022-01-07
Fix URL N/A

Affected Packages

Software From version Fixed in
node-forge

Free Vulnerability Check

Is your site affected by GHSA-gf8q-jrpm-jvxq?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against GHSA-gf8q-jrpm-jvxq and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.