GHSA-gxpj-cx7g-858c

Suggest an improvement
Source
https://github.com/advisories/GHSA-gxpj-cx7g-858c
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/08/GHSA-gxpj-cx7g-858c/GHSA-gxpj-cx7g-858c.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-gxpj-cx7g-858c
Aliases
Published
2018-08-09T20:18:07Z
Modified
2024-03-25T19:01:23Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
Regular Expression Denial of Service in debug
Details

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.

This was later re-introduced in version v3.2.0, and then repatched in versions 3.2.7 and 4.3.1.

Recommendation

Version 2.x.x: Update to version 2.6.9 or later. Version 3.1.x: Update to version 3.1.0 or later. Version 3.2.x: Update to version 3.2.7 or later. Version 4.x.x: Update to version 4.3.1 or later.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-400"
    ],
    "severity": "LOW",
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:38:18Z"
}
References

Affected packages

npm / debug

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6.9

npm / debug

Package

Affected ranges

Type
SEMVER
Events
Introduced
3.0.0
Fixed
3.1.0

npm / debug

Package

Affected ranges

Type
SEMVER
Events
Introduced
3.2.0
Fixed
3.2.7

npm / debug

Package

Affected ranges

Type
SEMVER
Events
Introduced
4.0.0
Fixed
4.3.1