Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. moment
  4. ›
  5. CVE-2017-18214

CVE-2017-18214: Uncontrolled Resource Consumption

March 4, 2018 (updated March 27, 2019)

The moment module for Node.js is prone to a regular expression denial of service via a crafted date string.

References

  • github.com/moment/moment/issues/4163
  • nvd.nist.gov/vuln/detail/CVE-2017-18214

Code Behaviors & Features

Detect and mitigate CVE-2017-18214 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 up to 2.19.2

Fixed versions

  • 2.19.3

Solution

Upgrade to version 2.19.3 or above.

Impact 7.5 HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

npm/moment/CVE-2017-18214.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:56 +0000.