moment is a JavaScript date library for parsing, validating, manipulating, and formatting dates. Affected versions of moment were found to use an inefficient parsing algorithm. Specifically using string-to-date parsing in moment (more specifically rfc2822 parsing, which is tried by default) has quadratic (N^2) complexity on specific inputs. Users may notice a noticeable slowdown is observed with inputs above 10k characters. Users who pass user-provided strings without sanity length checks to moment constructor are vulnerable to (Re)DoS attacks. The problem is patched in 2.29.4, the patch can be applied to all affected versions with minimal tweaking. Users are advised to upgrade. Users unable to upgrade should consider limiting date lengths accepted from user input.
CVE-2022-31129
This high-severity CVE scores 7.5 under NVD CVSS v3. EPSS exploit probability: 5.6% (92nd percentile of EPSS-scored CVEs). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.5
- EG Score
- 7.5HIGHmedium confidence
- EG Risk
- 65EG Risk 65/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity75% × 45%Exploitation40% × 40%Automatability100% × 15%CISA SSVC: Track at low or medium mission impact; Attend at high (mission-essential systems).Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high. - EPSS PROB
- 5.6%
- EPSS %ILE
- 92nd
- KEV
- Not listed
CISA SSVCTrack at low or medium mission impact; Attend at high (mission-essential systems).
A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
Exploitation public PoC (CISA Vulnrichment) · Automatable yes (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
July 6, 2022
Last Modified
November 3, 2025
References (21)
- security-advisories@githubhttps://github.com/moment/moment/commit/9a3b5894f3d5d602948ac8a02e4ee528a49ca3a3
- security-advisories@githubhttps://github.com/moment/moment/pull/6015#issuecomment-1152961973
- security-advisories@githubhttps://github.com/moment/moment/security/advisories/GHSA-wc69-rhjr-hc9g
- security-advisories@githubhttps://huntr.dev/bounties/f0952b67-f2ff-44a9-a9cd-99e0a87cb633/
- security-advisories@githubhttps://lists.debian.org/debian-lts-announce/2023/01/msg00035.html
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6QIO6YNLTK2T7SPKDS4JEL45FANLNC2Q/
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IWY24RJA3SBJGA5N4CU4VBPHJPPPJL5O/
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ORJX2LF6KMPIHP6B2P6KZIVKMLE3LVJ5/
- security-advisories@githubhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZMX5YHELQVCGKKQVFXIYOTBMN23YYSRO/
- security-advisories@githubhttps://security.netapp.com/advisory/ntap-20221014-0003/
- af854a3a-2127-422b-91ae-364da2661108https://github.com/moment/moment/commit/9a3b5894f3d5d602948ac8a02e4ee528a49ca3a3
- af854a3a-2127-422b-91ae-364da2661108https://github.com/moment/moment/pull/6015#issuecomment-1152961973
- af854a3a-2127-422b-91ae-364da2661108https://github.com/moment/moment/security/advisories/GHSA-wc69-rhjr-hc9g
- af854a3a-2127-422b-91ae-364da2661108https://huntr.dev/bounties/f0952b67-f2ff-44a9-a9cd-99e0a87cb633/
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2023/01/msg00035.html
Vendor Advisories for CVE-2022-31129(20)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2023:3623Red Hat Product SecurityMedium
Red Hat Security Advisory: Red Hat Ceph Storage 6.1 security and bug fix update
- RHSA-2023:1486Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Gluster Storage web-admin-build security update
- RHSA-2023:1043Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Single Sign-On 7.6.2 security update on RHEL 7
- RHSA-2023:1049Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Single Sign-On 7.6.2 security update
- RHSA-2023:1047Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Single Sign-On 7.6.2 for OpenShift image security and enhancement update
- RHSA-2023:1045Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Single Sign-On 7.6.2 security update on RHEL 9
- RHSA-2023:1044Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Single Sign-On 7.6.2 security update on RHEL 8
- RHSA-2022:8652Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat Fuse 7.11.1 release and security update
- +12 more
Patch Availability(18)
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(7 across 7 ecosystems)
Debian:10(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| node-moment | 2.24.0+ds-1 |
| — |
Debian:11(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| node-moment | 2.29.1+ds-2, 2.29.1+ds-2+deb11u1 |
| — |
Debian:12(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| node-moment | — |
| — |
Debian:13(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| node-moment | — |
| — |
Debian:14(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| node-moment | — |
| — |
npm(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| moment | — |
| — |
NuGet(1)
| Package | Vulnerable range | Fix by version range | Dependents |
|---|---|---|---|
| Moment.js | 2.18.0 ... 2.29.3 (26 versions) |
| — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(9)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Red HatRHSA-2022:5913IMPORTANT2022-07-06
RHSA-2022:5913 — Important
- Red HatRHSA-2022:5914IMPORTANT2022-07-06
RHSA-2022:5914 — Important
- Red HatRHSA-2022:5915IMPORTANT2022-07-06
RHSA-2022:5915 — Important
- Red HatRHSA-2022:6156IMPORTANT2022-07-06
RHSA-2022:6156 — Important
- Red HatRHSA-2022:6271IMPORTANT2022-07-06
RHSA-2022:6271 — Important
- Red HatRHSA-2022:6272IMPORTANT2022-07-06
RHSA-2022:6272 — Important
- Red HatRHSA-2022:6277IMPORTANT2022-07-06
RHSA-2022:6277 — Important
- UbuntuUSN-5559-1MEDIUM
Moment.js vulnerabilities
- UbuntuUSN-6550-1MEDIUM
PostfixAdmin vulnerabilities
Data Freshness Timeline
(refreshed 6× in last 7d / 25× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 183 total refreshes for this CVE.
- 2026-10-09 20:04 UTCEPSS rescore
- 2026-10-08 16:40 UTCEPSS rescore
- 2026-10-07 23:45 UTCEPSS rescore
- 2026-10-06 15:14 UTCEPSS rescore
- 2026-10-05 17:40 UTCEPSS rescore
- 2026-10-03 14:23 UTCEPSS rescore
- 2026-10-02 16:23 UTCEPSS rescore
- 2026-09-30 15:55 UTCEG score recompute
- 2026-09-30 15:00 UTCEPSS rescore
- 2026-09-29 15:16 UTCEPSS rescore
- 2026-09-28 13:48 UTCEPSS rescore
- 2026-09-27 13:42 UTCEPSS rescore
- 2026-09-26 15:54 UTCEPSS rescore
- 2026-09-26 00:22 UTCEPSS rescore
- 2026-09-24 18:16 UTCOSV refresh
- 2026-09-24 14:00 UTCEPSS rescore
- 2026-09-23 13:45 UTCEPSS rescore
- 2026-09-22 14:44 UTCEPSS rescore
- 2026-09-19 15:38 UTCEPSS rescore
- 2026-09-18 19:24 UTCEPSS rescore
- 2026-09-16 14:05 UTCEPSS rescore
- 2026-09-15 03:06 UTCEPSS rescore
- 2026-09-12 14:57 UTCEPSS rescore
- 2026-09-11 14:49 UTCEPSS rescore
- 2026-09-11 09:33 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-09-08 21:57 UTCEPSS rescore
- 2026-09-07 15:58 UTCEPSS rescore
- 2026-09-06 13:45 UTCEPSS rescore
- 2026-09-05 15:25 UTCEPSS rescore
- 2026-09-05 10:14 UTCOSV refresh
- 2026-09-04 13:57 UTCEPSS rescore
- 2026-09-04 13:57 UTCEPSS rescore
- 2026-09-04 05:04 UTCEPSS rescore
- 2026-09-02 14:09 UTCEPSS rescore
- 2026-09-01 13:51 UTCEPSS rescore
- 2026-08-30 19:14 UTCEPSS rescore
- 2026-08-30 01:19 UTCEPSS rescore
- 2026-08-28 21:38 UTCEPSS rescore
- 2026-08-27 14:22 UTCEPSS rescore
- 2026-08-26 14:43 UTCEPSS rescore
- 2026-08-25 13:46 UTCEPSS rescore
- 2026-08-24 14:13 UTCEPSS rescore
- 2026-08-23 00:16 UTCEPSS rescore
- 2026-08-21 23:46 UTCEPSS rescore
- 2026-08-20 22:52 UTCEPSS rescore
- 2026-08-19 17:01 UTCEPSS rescore
- 2026-08-18 20:11 UTCOSV refresh
- 2026-08-18 13:45 UTCEPSS rescore
- 2026-08-17 13:44 UTCEPSS rescore
- 2026-08-16 14:53 UTCEPSS rescore
- 2026-08-16 02:11 UTCEPSS rescore
- 2026-08-15 01:27 UTCEPSS rescore
- 2026-08-13 21:57 UTCEPSS rescore
- 2026-08-12 13:48 UTCEPSS rescore
- 2026-08-11 13:38 UTCEPSS rescore
- 2026-08-09 13:44 UTCEPSS rescore
- 2026-08-08 16:34 UTCEPSS rescore
- 2026-08-07 16:24 UTCEPSS rescore
- 2026-08-06 13:44 UTCEPSS rescore
- 2026-08-05 19:15 UTCEPSS rescore
- 2026-08-04 15:07 UTCEPSS rescore
- 2026-08-04 10:35 UTCEPSS rescore
- 2026-08-03 16:27 UTCOSV refresh
- 2026-08-03 10:33 UTCEPSS rescore
- 2026-08-02 02:24 UTCEPSS rescore
- 2026-08-01 04:13 UTCEPSS rescore
- 2026-07-30 16:25 UTCEPSS rescore
- 2026-07-30 01:28 UTCEPSS rescore
- 2026-07-28 15:33 UTCEPSS rescore
- 2026-07-25 14:15 UTCEPSS rescore
- 2026-07-24 14:15 UTCEPSS rescore
- 2026-07-24 14:15 UTCEPSS rescore
- 2026-07-23 14:16 UTCEPSS rescore
- 2026-07-23 14:16 UTCEPSS rescore
- 2026-07-23 02:11 UTCEG score recompute
- 2026-07-22 22:58 UTCEG score recompute
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-20 17:05 UTCEPSS rescore
- 2026-07-19 14:29 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-18 10:02 UTCEPSS rescore
- 2026-07-17 04:24 UTCOSV refresh
- 2026-07-16 17:00 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-13 22:27 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-12 05:44 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:07 UTCEPSS rescore
Related CVEs(same product + same vendor + same CWE)
Same product
4 shownDebian:10:node-moment · Debian:11:node-moment · Debian:12:node-moment
Same vendor
10 shownredhat:RHSA-2022:6156 · redhat:RHSA-2022:6813 · redhat:RHSA-2022:6835
- CVE-2022-24785EG 7.5EPSS p96HIGH
- CVE-2021-44906EG 9.8EPSS p91CRITICAL
- CVE-2022-25857EG 7.5HIGH
- CVE-2020-11022NVD 6.9EG 9.0EPSS p100CRITICAL
- CVE-2022-38749EG 6.5MEDIUM
- CVE-2022-46364EG 9.8CRITICAL
- CVE-2022-45047EG 9.8EPSS p90CRITICAL
- CVE-2022-1471NVD 8.3EG 9.0EPSS p100CRITICAL
- CVE-2020-11023NVD 6.9EG 9.0 KEVEPSS p100CRITICAL
- CVE-2019-11358NVD 6.1EG 9.0EPSS p100CRITICAL
Frequently asked(5)
What is CVE-2022-31129?
When was CVE-2022-31129 disclosed?
Is CVE-2022-31129 actively exploited?
What is the CVSS score of CVE-2022-31129?
How do I remediate CVE-2022-31129?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2022-31129
Is Your Infrastructure Affected by CVE-2022-31129?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.