Security mailing lists by PureSourceCode

CVE-2016-4055

MEDIUM 6.5CVSS 3.1

Regular Expression Denial of Service in moment

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)."

Published
23 Jan 2017
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-400
Also known as
GHSA-87vv-r9j6-g5qv
Sources
NVDJSONOSV GHSA-87vv-r9j6-g5qvJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.0 MEDIUM 6.5 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.8 AV:N/AC:L/Au:N/C:N/I:N/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD momentjs moment
cpe:2.3:a:momentjs:moment:*:*:*:*:*:node.js:*:*
< 2.11.2 2.11.2
NVD tenable nessus
cpe:2.3:a:tenable:nessus:*:*:*:*:*:*:*:*
<= 8.2.3
NVD oracle primavera_unifier
cpe:2.3:a:oracle:primavera_unifier:*:*:*:*:*:*:*:*
>= 16.0, <= 18.8.4
OSV npm moment < 2.11.2 2.11.2

References

History

  • 25 Nov 2026 20:19 UTC · NVD: first stored (published 23 Jan 2017)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 24 Oct 2017)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.