CVE-2016-4055Momentjs Moment
Medium 6.5 High EPSS
Follow: this CVE · Momentjs · Momentjs Moment We alert you by email or Slack (account required).
- Priority
- 40
- CVSS 3.1
- 6.5
- EPSS
- 10.2% probability of exploitation in 30 days · percentile 96
- Auth required
- Yes
- Published
- Jan 23, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
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)."
What to do
- Apply the vendor's security update for Moment.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | moment |
< 2.11.2 |
2.11.2 |
npm install moment@2.11.2 |
Per OSV / GitHub Advisories (GHSA-87vv-r9j6-g5qv). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| momentjs | moment | < 2.11.2 |
| tenable | nessus | ≤ 8.2.3 |
| oracle | primavera_unifier | ≥ 16.0 ≤ 18.8.4 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- lists.apache.org
- lists.apache.org
- lists.apache.org
- lists.apache.org
- nodesecurity.io Broken Link Exploit Vendor Advisory
- www.tenable.com Patch Third Party Advisory