GHSA-wc69-rhjr-hc9g · 深刻度: high · エコシステム: npm — Moment.js vulnerable to Inefficient Regular Expression Complexity
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 は悪用リスクが高い(76.9/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 3.95%、89 パーセンタイル) 根拠: 公開エクスプロイトが 2 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ | |
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 3.17% | 3.95% | +0.78% |
| 2 | 2026-06-08 | 2.87% | 3.17% | +0.30% |
| 3 | 2026-06-05 | — | 2.87% | — |
EPSS の全履歴 (全 51 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 5.0 | 2.0 | MEDIUM |
|
10.0 | 2.9 | [email protected] |
GHSA-wc69-rhjr-hc9g · 深刻度: high · エコシステム: npm — Moment.js vulnerable to Inefficient Regular Expression Complexity
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2022-31129 not yet assigned priority: Debian including 1 source packages (node-moment), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2022-31129 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2022-31129 |
suse
|
high | — | https://www.suse.com/security/cve/CVE-2022-31129/ |
ubuntu
|
medium | CVE-2022-31129 medium priority: Ubuntu including 11 source packages (gnucash, mediawiki, …), 154 status rows across 14 suites (bionic, focal, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 84, needs-triage 35, DNE 17, not-affected 10, released 5, needed 3. | https://ubuntu.com/security/CVE-2022-31129 |
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| momentjs | moment | >= 2.18.0, < 2.29.4 | cpe:2.3:a:momentjs:moment:*:*:*:*:*:node.js:*:* |
| momentjs | moment | >= 2.18.0, < 2.29.4 | cpe:2.3:a:momentjs:moment:*:*:*:*:*:nuget:*:* |
| fedoraproject | fedora | 35 | cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
| fedoraproject | fedora | 36 | cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* |
| fedoraproject | fedora | 37 | cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* |
| debian | debian_linux | 10.0 | cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |