Lucene search

K
osvGoogleOSV:GHSA-GF8Q-JRPM-JVXQ
HistoryJan 08, 2022 - 12:22 a.m.

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

2022-01-0800:22:02
Google
osv.dev
12
node-forge
url parsing
security vulnerability
patch removal

EPSS

0.001

Percentile

33.4%

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

For more information

If you have any questions or comments about this advisory:

EPSS

0.001

Percentile

33.4%

Related for OSV:GHSA-GF8Q-JRPM-JVXQ