Security mailing lists by PureSourceCode

GHSA-gf8q-jrpm-jvxq

LOW

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
For more information

If you have any questions or comments about this advisory:

  • Open an issue in forge
  • Email us at support@digitalbazaar.com
Published
8 Jan 2022
Last modified
7 Jan 2022
Weakness
CWE-601
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm node-forge < 1.0.0 1.0.0

References

History

  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Jan 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.