Resource Exhaustion Affecting node-moment package, versions <2.13.0+ds-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
9.91% (95th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-NODEMOMENT-19883804
  • published17 Sept 2026
  • disclosed23 Jan 2017

Introduced: 23 Jan 2017

CVE-2016-4055  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Echo:latest node-moment to version 2.13.0+ds-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-moment package and not the node-moment package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

The duration function in the moment package before 2.11.2 for Node.js allows remote attackers to cause a denial of service (CPU consumption) via a long string, aka a "regular expression Denial of Service (ReDoS)."

CVSS Base Scores

version 3.1