İçeriğe atla
Noroxi
CVE-2022-31129· NVD / CVE Programı· CNA GitHub_M

Inefficient Regular Expression Complexity in moment

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.

YüksekCVSS 7.5 · v3.1—İstismar yok Düzeltme var
Yayın
6 Tem 2022
Güncelleme
17 Haz 2026
EPSS
%5,6 · 93. yüzdelik
Bu CVE’yi takip et

Takip etmek için giriş yap · Takip ettiğin kayıt KEV’e girer, istismarı çıkar ya da güncellenirse bildirim alırsın.

Rapor araçları

JSON

Aksiyon skoru

32

İzleyin

Şimdilik düşük öncelik.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Listede değil
EPSS
2 / 30 · %5,6

CISA SSVC kararı

Sömürü
kavram kanıtı
Otomatikleştirilebilir
evet
Teknik etki
kısmi

Vulnrichment: CISA'nın karar ağacı girdileri.

CNA ile NVD puanı

NVD
7,5
CNA · GitHub_M
7,5
uyumlu

Kaydı açan otoritenin puanı ile NVD’nin bağımsız puanı. İki puan arasındaki fark ciddiyetin tartışmalı olduğunu gösterir.

Etkilenen sistemler

ÜreticiÜrün
momentjsmoment
fedoraprojectfedora
debiandebian linux

Etkilenen sürümler

NVD sürüm aralıkları (katalogdaki ürünler için). Stack’ine sürümle eklersen eşleşme bunlarla yapılır.

  • debian debian linux10.0
  • fedoraproject fedora35
  • fedoraproject fedora36
  • fedoraproject fedora37
  • momentjs moment2.18.0 ve sonrası · 2.29.4 öncesi

Üreticinin bildirdiği sürümler

Kaydı açan otorite (GitHub_M) tarafından bildirilen etkilenen sürüm aralıkları. NVD'nin CPE analizinden bağımsızdır ve genellikle ondan önce gelir.

  • moment moment

    • >= 2.18.0, < 2.29.4etkilenir

Paket düzeyi etkilenme

OSV ve GitHub Advisory verisi: ekosistem, paket ve aralık. SBOM eşleşmesi bu tabloyu kullanır.

EkosistemPaketEtkilenen aralıkDüzeltme
Debian:10node-moment2.24.0+ds-1+deb10u1 öncesi2.24.0+ds-1+deb10u1
Debian:12node-moment2.29.4+ds-1 öncesi2.29.4+ds-1
npmmoment2.18.0 itibarıyla · 2.29.4 öncesi2.29.4
npmmoment2.18.0 itibarıyla · 2.29.4 öncesi2.29.4
NuGetMoment.js2.18.0 itibarıyla · 2.29.4 öncesi2.29.4
Red Hat:ceph_storage:6.1::el9ansible-collection-ansible-posix0:1.2.0-1.3.el9ost öncesi0:1.2.0-1.3.el9ost
Red Hat:ceph_storage:6.1::el9ceph2:17.2.6-70.el9cp öncesi2:17.2.6-70.el9cp
Red Hat:ceph_storage:6.1::el9ceph-base2:17.2.6-70.el9cp öncesi2:17.2.6-70.el9cp
Red Hat:ceph_storage:6.1::el9ceph-base-debuginfo2:17.2.6-70.el9cp öncesi2:17.2.6-70.el9cp
Red Hat:ceph_storage:6.1::el9ceph-common2:17.2.6-70.el9cp öncesi2:17.2.6-70.el9cp
Red Hat:ceph_storage:6.1::el9ceph-common-debuginfo2:17.2.6-70.el9cp öncesi2:17.2.6-70.el9cp
Red Hat:ceph_storage:6.1::el9ceph-debuginfo2:17.2.6-70.el9cp öncesi2:17.2.6-70.el9cp
Red Hat:ceph_storage:6.1::el9ceph-debugsource2:17.2.6-70.el9cp öncesi2:17.2.6-70.el9cp
Red Hat:ceph_storage:6.1::el9ceph-exporter-debuginfo2:17.2.6-70.el9cp öncesi2:17.2.6-70.el9cp
Red Hat:ceph_storage:6.1::el9ceph-fuse2:17.2.6-70.el9cp öncesi2:17.2.6-70.el9cp
Red Hat:ceph_storage:6.1::el9ceph-fuse-debuginfo2:17.2.6-70.el9cp öncesi2:17.2.6-70.el9cp
Red Hat:ceph_storage:6.1::el9ceph-immutable-object-cache2:17.2.6-70.el9cp öncesi2:17.2.6-70.el9cp
Red Hat:ceph_storage:6.1::el9ceph-immutable-object-cache-debuginfo2:17.2.6-70.el9cp öncesi2:17.2.6-70.el9cp
Red Hat:ceph_storage:6.1::el9ceph-mds-debuginfo2:17.2.6-70.el9cp öncesi2:17.2.6-70.el9cp
Red Hat:ceph_storage:6.1::el9ceph-mgr-debuginfo2:17.2.6-70.el9cp öncesi2:17.2.6-70.el9cp
Red Hat:ceph_storage:6.1::el9ceph-mib2:17.2.6-70.el9cp öncesi2:17.2.6-70.el9cp
Red Hat:ceph_storage:6.1::el9ceph-mon-debuginfo2:17.2.6-70.el9cp öncesi2:17.2.6-70.el9cp
Red Hat:ceph_storage:6.1::el9ceph-osd-debuginfo2:17.2.6-70.el9cp öncesi2:17.2.6-70.el9cp
Red Hat:ceph_storage:6.1::el9ceph-radosgw-debuginfo2:17.2.6-70.el9cp öncesi2:17.2.6-70.el9cp

+96

Aynı birincil ürünün en yüksek skorlu diğer kayıtları.

  • CVE-2022-24785Path Traversal in Moment.js
    34İzleyin
  • CVE-2017-18214The moment module before 2.19.3 for Node.js is prone to a regular expression denial of service via a crafted date string, a different vulner
    31İzleyin
  • CVE-2016-4055The duration function in the moment package before 2.11.2 for Node.js allows remote attackers to cause a denial of service (CPU consumption)
    29İzleyin

Düzeltme

Hangi sürüme geçmeli

Üretici, paket deposu ve Microsoft kayıtlarından derlenen düzeltme sürümleri. Yükseltmeden önce üreticinin notunu doğrulayın.

Ürün / paketDüzeltilmiş sürümKaynak
moment moment2.29.4 · descriptionÜretici (CNA)
debian:node-moment2.29.4+ds-1 · Debian:12Paket deposu (OSV)
npm:moment2.29.4Paket deposu (OSV)
NuGet:Moment.js2.29.4Paket deposu (OSV)
red hat:cockpit-ovirt0:0.16.2-1.el8ev · Red Hat:rhev_hypervisor:4.4::el8Paket deposu (OSV)
red hat:servicemesh0:2.1.5-1.el8 · Red Hat:service_mesh:2.1::el8Paket deposu (OSV)
red hat:servicemesh-cni0:2.1.5-1.el8 · Red Hat:service_mesh:2.1::el8Paket deposu (OSV)
red hat:servicemesh-operator0:2.1.5-1.el8 · Red Hat:service_mesh:2.1::el8Paket deposu (OSV)
red hat:servicemesh-pilot-agent0:2.1.5-1.el8 · Red Hat:service_mesh:2.1::el8Paket deposu (OSV)
red hat:servicemesh-pilot-discovery0:2.1.5-1.el8 · Red Hat:service_mesh:2.1::el8Paket deposu (OSV)
red hat:servicemesh-prometheus0:2.14.0-18.el8.1 · Red Hat:service_mesh:2.0::el8Paket deposu (OSV)
red hat:servicemesh-proxy0:2.1.5-1.el8 · Red Hat:service_mesh:2.1::el8Paket deposu (OSV)
red hat:servicemesh-proxy-debuginfo0:2.1.5-1.el8 · Red Hat:service_mesh:2.1::el8Paket deposu (OSV)
red hat:servicemesh-proxy-debugsource0:2.1.5-1.el8 · Red Hat:service_mesh:2.1::el8Paket deposu (OSV)
red hat:servicemesh-proxy-wasm0:2.1.5-1.el8 · Red Hat:service_mesh:2.1::el8Paket deposu (OSV)
red hat:servicemesh-ratelimit0:2.1.5-1.el8 · Red Hat:service_mesh:2.1::el8Paket deposu (OSV)
suse:mgr-daemon4.2.10-150300.2.9.4 · SUSE:Manager Proxy Module 4.2Paket deposu (OSV)
suse:patterns-suse-manager4.2-150300.4.12.2 · SUSE:Manager Proxy Module 4.2Paket deposu (OSV)
suse:release-notes-susemanager4.2.9-150300.3.54.1 · SUSE:Manager Server 4.2Paket deposu (OSV)
suse:release-notes-susemanager-proxy4.2.9-150300.3.43.1 · SUSE:Manager Proxy 4.2Paket deposu (OSV)
suse:spacecmd4.2.19-150300.4.27.2 · SUSE:Manager Proxy Module 4.2Paket deposu (OSV)
suse:spacewalk-backend4.2.24-150300.4.29.5 · SUSE:Manager Proxy Module 4.2Paket deposu (OSV)
suse:spacewalk-certs-tools4.2.18-150300.3.24.3 · SUSE:Manager Proxy Module 4.2Paket deposu (OSV)
suse:spacewalk-client-tools4.2.20-150300.4.24.3 · SUSE:Manager Proxy Module 4.2Paket deposu (OSV)
suse:spacewalk-proxy4.2.12-150300.3.21.3 · SUSE:Manager Proxy Module 4.2Paket deposu (OSV)
suse:spacewalk-web4.2.29-150300.3.27.3 · SUSE:Manager Proxy Module 4.2Paket deposu (OSV)
suse:susemanager-tftpsync-recv4.2.5-150300.3.6.2 · SUSE:Manager Proxy Module 4.2Paket deposu (OSV)
suse:uyuni-common-libs4.2.7-150300.3.9.2 · SUSE:Manager Proxy Module 4.2Paket deposu (OSV)

İstismar durumu

Bilinen kamuya açık istismar yok

Şu an kamuya açık bir istismar görülmedi. Bu, güvende olduğunuz anlamına gelmez; yalnızca eşiğin biraz daha yüksek olduğunu gösterir.

Araştırma bağlamı

Pentester ve araştırmacı için: saldırı profili, puan anlaşmazlığı, zaman çizelgesi, yama commit’leri, kredi, varyant ve zincir adayları, bug bounty kapsamı. Hepsi mevcut veriden türetilir; istismar kodu içermez.

Zaman çizelgesi

Yayından bugüne: kavram kanıtı, Metasploit modülü, CISA KEV ve düzeltme kaydı. Tarihler kaynakların bildirdiği tarihlerdir.

Yayın dışında tarihli olay yok.

EPSS son 120 gün

FIRST EPSS günlük puanı; yalnızca 0,01 ve üstü değişimler kaydedilir (adım grafiği).

Yama ve commit bağlantıları

Referanslardaki commit, PR ve diff adresleri. Patch-diff ve varyant avı için başlangıç noktası; istismar değil, düzeltmedir.

CNA kaydında adı geçen bulan, bildiren ve analistler. Ada tıkla, aynı araştırmacının diğer kayıtlarını gör.

CNA kaydında kredi yok.

Varyant adayları

Aynı üründe aynı zafiyet sınıfı, 18 ay içinde. Yama kök nedeni kapatmadıysa kardeş hata burada olur.

Gece hesaplanan ilişki yok.

Zincir adayları

Aynı üründe kimlik doğrulama atlatma ile yetki isteyen bir açık kısa aralıkla yayımlanmış: birlikte kimlik doğrulamasız bir yola dönüşebilir.

—

Bug bounty kapsamı

Bilinen herkese açık program yok.

Kaynak: bounty-targets-data (HackerOne, Bugcrowd, Intigriti, YesWeHack herkese açık listeleri).

Teknik detay

Saldırı koşulları

  • İnternetten erişebilen herkes tetikleyebilir.
  • Hesap ya da parola gerekmez.
  • Kullanıcının bir şey yapması gerekmez.
  • Özel bir koşul gerekmez; tekrarlanabilir.

Başarılı olursa

Gizlilik
yok
Bütünlük
yok
Erişilebilirlik
yüksek · hizmet durdurulabilir
Saldırı vektörü
Ağ
Karmaşıklık
Düşük
Gereken yetki
Yok
Kullanıcı etkileşimi
Gerekmez
Kapsam
Değişmez
Gizlilik etkisi
Yok
Bütünlük etkisi
Yok
Erişilebilirlik etkisi
Yüksek

CVSS vektörü

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Kök neden

İç içe yapıları çözümleyen kod derinlik ya da boyut sınırı koymuyor. Küçük bir girdi orantısız işlem yüküne dönüşebilir.

Hatanın kod karşılığı

CWE-400 sınıfının tamamı

Bu zafiyet sınıfının temsili örneği. Üreticinin kaynak kodu değildir; hatalı kalıbı ve düzeltmesini gösterir.

Hatalı

ts
function expand(node) {  return node.children.map(expand);}

Düzeltilmiş

ts
const MAX_DEPTH = 32;function expand(node, depth = 0) {  if (depth > MAX_DEPTH) throw new Error("çok derin");  return node.children.map((c) => expand(c, depth + 1));}

Saldırı bağlamı

Bu zafiyet sınıfının (CWE) MITRE CAPEC saldırı desenleri ve ATT&CK teknikleri. Tespit kuralı ve tehdit avı için başlangıç noktası.

Noroxi analizi

Bu kayıt için henüz Noroxi analizi yok

385 binden fazla zafiyetin tamamına elle analiz yazmıyoruz; bu dürüst olmazdı. Öne çıkan ve sahada etkisi olan zafiyetler için mekanizma, tespit ve kapatma adımlarını ekibimiz yazıyor.

Bu ürünü kullanıyoruz, yardım isteyin

Değişiklik günlüğü

  1. Düzeltme✗ → ✓

Takip ettiğiniz kayıtlarda bu değişiklikler bildirim olarak da gelir. →

Referanslar

Tüm kayıtlar