Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. diff
  4. ›
  5. GMS-2019-21

GMS-2019-21: Regular Expression Denial of Service (ReDoS)

June 13, 2019 (updated February 24, 2021)

A vulnerability was found in diff before v3.5.0, the affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) attacks.

References

  • bugzilla.redhat.com/show_bug.cgi?id=1552148
  • github.com/advisories/GHSA-h6ch-v84p-w6p9
  • github.com/kpdecker/jsdiff/commit/2aec4298639bf30fb88a00b356bf404d3551b8c0
  • snyk.io/vuln/npm:diff:20180305
  • www.npmjs.com/advisories/1631
  • www.whitesourcesoftware.com/vulnerability-database/WS-2018-0590

Code Behaviors & Features

Detect and mitigate GMS-2019-21 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.5.0

Fixed versions

  • 3.5.0

Solution

Upgrade to version 3.5.0 or above.

Source file

npm/diff/GMS-2019-21.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:53 +0000.