GHSA-gf8q-jrpm-jvxq

    Dashboard / Vulnerabilities / GHSA-gf8q-jrpm-jvxq

    GHSA-gf8q-jrpm-jvxq

    Published: 8 Jan 2022Last Modified: 7 Jan 2022

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

    Details: ### 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 [email protected]

    Affected packages

    Package

    Name: node-forge

    Purl: pkg:npm/node-forge

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.0.0

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-gf8q-jrpm-jvxq | CVE-DB