Severity: low

    Regular Expression Denial of Service

    debug

    Overview

    Affected versions of debug are vulnerable to regular expression denial of service when untrusted user input is passed into the o formatter.

    As it takes 50,000 characters to block the event loop for 2 seconds, this issue is a low severity issue.

    Remediation

    Version 2.x.x: Update to version 2.6.9 or later. Version 3.x.x: Update to version 3.1.0 or later.

    Resources

    Have content suggestions? Visit npmjs.com/support.

    Advisory timeline

    1. published

      Advisory published
      Sep 27th, 2017
    2. reported

      Initial report by Cristian-Alexandru Staicu
      Sep 25th, 2017