GHSA-vqc4-v8hc-h2jg

    Dashboard / Vulnerabilities / GHSA-vqc4-v8hc-h2jg

    GHSA-vqc4-v8hc-h2jg

    Published: 31 Aug 2022Last Modified: 8 Nov 2023

    Summary: Polynomial regular expression used on uncontrolled data in nitrado.js

    Details: ### Impact Possible ReDoS with lib input of `{{` and with many repetitions of `{{|` ### Patches Patched in all versions above `0.2.5` ### Workarounds No known work arounds. ### References - OWASP: [Regular expression Denial of Service - ReDoS](https://www.owasp.org/index.php/Regular_expression_Denial_of_Service_-_ReDoS) - Wikipedia: [ReDoS](https://en.wikipedia.org/wiki/ReDoS). - Wikipedia: [Time complexity](https://en.wikipedia.org/wiki/Time_complexity). - James Kirrage, Asiri Rathnayake, Hayo Thielecke: [Static Analysis for Regular Expression Denial-of-Service Attack](http://www.cs.bham.ac.uk/~hxt/research/reg-exp-sec.pdf). - Common Weakness Enumeration: [CWE-1333](https://cwe.mitre.org/data/definitions/1333.html). - Common Weakness Enumeration: [CWE-400](https://cwe.mitre.org/data/definitions/400.html).

    Affected packages

    Package

    Name: nitrado.js

    Purl: pkg:npm/nitrado.js

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.2.5

    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-vqc4-v8hc-h2jg | CVE-DB