CVE-2022-31129: Inefficient Regular Expression Complexity in moment
Noroxi değerlendirmesi
Öncelik: İzleyin (aksiyon skoru 32/100)
- İzlediğimiz kaynaklarda (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) herkese açık istismar kodu ya da sahada sömürü kaydı yok.
- Önümüzdeki 30 günde sömürülme olasılığı %5,5 (FIRST EPSS); kayıtların %92,9 kadarından yüksek.
- İnternetten erişebilen herkes tetikleyebilir. Hesap ya da parola gerekmez. Kullanıcının bir şey yapması gerekmez. Özel bir koşul gerekmez; tekrarlanabilir.
- CISA'ya göre saldırı otomatikleştirilebilir: toplu taramalarla hedef bulunabilir.
- Düzeltilmiş sürüm: moment moment 2.29.4.
- Ulusal siber güvenlik bildirimlerinde (siberguvenlik.gov.tr) 2 kez anıldı.
Şimdilik düşük öncelik. moment moment 2.29.4 ya da daha yeni sürüme yükseltin.
Kaydın verisinden otomatik üretilir: CVSS (NVD ve CNA), CISA KEV ve SSVC, FIRST EPSS, istismar kaynakları, düzeltme sürümleri. Nasıl hesaplıyoruz
Birincil kaynaklar: NVD · CVE.org · FIRST EPSS
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.
- Yayın
- 6 Tem 2022
- Güncelleme
- 17 Haz 2026
- EPSS
- %5,5 · 92. yüzdelik
- CWE
- CWE-400
Rapor araçları
Aksiyon skoru
32
Şimdilik düşük öncelik.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 2 / 30 · %5,5
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.
Bu kayıt değişirse haber alın
- KEV'de değil: sahada sömürü kaydı yok
- Herkese açık istismar kodu kaydı yok
- Düzeltme yayımlandı
Bunlardan biri değişirse günlük e-posta özetinde haber veririz.
Sitenizdeki Moment.js bu açıktan etkileniyor mu?JavaScript kütüphanelerini tara
Sürümünüz etkileniyor mu? Kontrol edinNoroxi analizi
Sizin ortamınızda ne anlama geliyor?
Yukarıdaki değerlendirme kaydın verisinden otomatik üretilir; ortamınızı bilmez. Bu açığın sizde gerçekten sömürülebilir olup olmadığını ve hangi önlemin yeteceğini ekibimiz sizin sistemlerinizde doğrular.
Bu ürünü kullanıyoruz, yardım isteyinEtkilenen sistemler
Sürümünüz etkileniyor mu?
Ürünü seçip kullandığınız sürümü yazın. Bu kaydın sürüm aralıklarıyla tarayıcınızda karşılaştırılır; sürüm hiçbir yere gönderilmez.
| Üretici | Ürün | CPE |
|---|---|---|
| momentjs | moment | cpe:2.3:a:momentjs:moment |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Sitenizdeki Moment.js bu açıktan etkileniyor mu?
Ücretsiz JavaScript kütüphane taraması sitenizin yüklediği dosyalardan Moment.js sürümünü okur, bu kaydı ve diğer bilinen açıkları eşler, aynı daldaki güvenli sürümü söyler. Sürüm okunamazsa bunu açıkça yazar. Hesap gerekmez.
JavaScript kütüphanelerini taraÜ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
Etkilenen sürümler · NVD (5)
NVD sürüm aralıkları (katalogdaki ürünler için). Stack’inize sürümle eklerseniz 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
Paket düzeyi etkilenme
OSV ve GitHub Advisory verisi: ekosistem, paket ve aralık. SBOM eşleşmesi bu tabloyu kullanır.
| Ekosistem | Paket | Etkilenen aralık | Düzeltme |
|---|---|---|---|
| Debian:10 | node-moment | 2.24.0+ds-1+deb10u1 öncesi | 2.24.0+ds-1+deb10u1 |
| Debian:12 | node-moment | 2.29.4+ds-1 öncesi | 2.29.4+ds-1 |
| npm | moment | 2.18.0 itibarıyla · 2.29.4 öncesi | 2.29.4 |
| NuGet | Moment.js | 2.18.0 itibarıyla · 2.29.4 öncesi | 2.29.4 |
| Red Hat:ceph_storage:6.1::el9 | ansible-collection-ansible-posix | 0:1.2.0-1.3.el9ost öncesi | 0:1.2.0-1.3.el9ost |
| Red Hat:ceph_storage:6.1::el9 | ceph | 2:17.2.6-70.el9cp öncesi | 2:17.2.6-70.el9cp |
| Red Hat:ceph_storage:6.1::el9 | ceph-base | 2:17.2.6-70.el9cp öncesi | 2:17.2.6-70.el9cp |
| Red Hat:ceph_storage:6.1::el9 | ceph-base-debuginfo | 2:17.2.6-70.el9cp öncesi | 2:17.2.6-70.el9cp |
| Red Hat:ceph_storage:6.1::el9 | ceph-common | 2:17.2.6-70.el9cp öncesi | 2:17.2.6-70.el9cp |
| Red Hat:ceph_storage:6.1::el9 | ceph-common-debuginfo | 2:17.2.6-70.el9cp öncesi | 2:17.2.6-70.el9cp |
| Red Hat:ceph_storage:6.1::el9 | ceph-debuginfo | 2:17.2.6-70.el9cp öncesi | 2:17.2.6-70.el9cp |
| Red Hat:ceph_storage:6.1::el9 | ceph-debugsource | 2:17.2.6-70.el9cp öncesi | 2:17.2.6-70.el9cp |
| Red Hat:ceph_storage:6.1::el9 | ceph-exporter-debuginfo | 2:17.2.6-70.el9cp öncesi | 2:17.2.6-70.el9cp |
| Red Hat:ceph_storage:6.1::el9 | ceph-fuse | 2:17.2.6-70.el9cp öncesi | 2:17.2.6-70.el9cp |
| Red Hat:ceph_storage:6.1::el9 | ceph-fuse-debuginfo | 2:17.2.6-70.el9cp öncesi | 2:17.2.6-70.el9cp |
| Red Hat:ceph_storage:6.1::el9 | ceph-immutable-object-cache | 2:17.2.6-70.el9cp öncesi | 2:17.2.6-70.el9cp |
| Red Hat:ceph_storage:6.1::el9 | ceph-immutable-object-cache-debuginfo | 2:17.2.6-70.el9cp öncesi | 2:17.2.6-70.el9cp |
| Red Hat:ceph_storage:6.1::el9 | ceph-mds-debuginfo | 2:17.2.6-70.el9cp öncesi | 2:17.2.6-70.el9cp |
| Red Hat:ceph_storage:6.1::el9 | ceph-mgr-debuginfo | 2:17.2.6-70.el9cp öncesi | 2:17.2.6-70.el9cp |
| Red Hat:ceph_storage:6.1::el9 | ceph-mib | 2:17.2.6-70.el9cp öncesi | 2:17.2.6-70.el9cp |
| Red Hat:ceph_storage:6.1::el9 | ceph-mon-debuginfo | 2:17.2.6-70.el9cp öncesi | 2:17.2.6-70.el9cp |
| Red Hat:ceph_storage:6.1::el9 | ceph-osd-debuginfo | 2:17.2.6-70.el9cp öncesi | 2:17.2.6-70.el9cp |
| Red Hat:ceph_storage:6.1::el9 | ceph-radosgw-debuginfo | 2:17.2.6-70.el9cp öncesi | 2:17.2.6-70.el9cp |
| Red Hat:ceph_storage:6.1::el9 | ceph-resource-agents | 2:17.2.6-70.el9cp öncesi | 2:17.2.6-70.el9cp |
+96
Aynı üründe
momentjs: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2022-24785Path Traversal in Moment.js34İ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…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…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 / paket | Düzeltilmiş sürüm | Kaynak |
|---|---|---|
| moment moment | 2.29.4 · description | Üretici (CNA) |
| debian:node-moment | 2.29.4+ds-1 · Debian:12 | Paket deposu (OSV) |
| npm:moment | 2.29.4 | Paket deposu (OSV) |
| NuGet:Moment.js | 2.29.4 | Paket deposu (OSV) |
| red hat:cockpit-ovirt | 0:0.16.2-1.el8ev · Red Hat:rhev_hypervisor:4.4::el8 | Paket deposu (OSV) |
| red hat:servicemesh | 0:2.1.5-1.el8 · Red Hat:service_mesh:2.1::el8 | Paket deposu (OSV) |
| red hat:servicemesh-cni | 0:2.1.5-1.el8 · Red Hat:service_mesh:2.1::el8 | Paket deposu (OSV) |
| red hat:servicemesh-operator | 0:2.1.5-1.el8 · Red Hat:service_mesh:2.1::el8 | Paket deposu (OSV) |
| red hat:servicemesh-pilot-agent | 0:2.1.5-1.el8 · Red Hat:service_mesh:2.1::el8 | Paket deposu (OSV) |
| red hat:servicemesh-pilot-discovery | 0:2.1.5-1.el8 · Red Hat:service_mesh:2.1::el8 | Paket deposu (OSV) |
| red hat:servicemesh-prometheus | 0:2.14.0-18.el8.1 · Red Hat:service_mesh:2.0::el8 | Paket deposu (OSV) |
| red hat:servicemesh-proxy | 0:2.1.5-1.el8 · Red Hat:service_mesh:2.1::el8 | Paket deposu (OSV) |
| red hat:servicemesh-proxy-debuginfo | 0:2.1.5-1.el8 · Red Hat:service_mesh:2.1::el8 | Paket deposu (OSV) |
| red hat:servicemesh-proxy-debugsource | 0:2.1.5-1.el8 · Red Hat:service_mesh:2.1::el8 | Paket deposu (OSV) |
| red hat:servicemesh-proxy-wasm | 0:2.1.5-1.el8 · Red Hat:service_mesh:2.1::el8 | Paket deposu (OSV) |
| red hat:servicemesh-ratelimit | 0:2.1.5-1.el8 · Red Hat:service_mesh:2.1::el8 | Paket deposu (OSV) |
| suse:mgr-daemon | 4.2.10-150300.2.9.4 · SUSE:Manager Proxy Module 4.2 | Paket deposu (OSV) |
| suse:patterns-suse-manager | 4.2-150300.4.12.2 · SUSE:Manager Proxy Module 4.2 | Paket deposu (OSV) |
| suse:release-notes-susemanager | 4.2.9-150300.3.54.1 · SUSE:Manager Server 4.2 | Paket deposu (OSV) |
| suse:release-notes-susemanager-proxy | 4.2.9-150300.3.43.1 · SUSE:Manager Proxy 4.2 | Paket deposu (OSV) |
| suse:spacecmd | 4.2.19-150300.4.27.2 · SUSE:Manager Proxy Module 4.2 | Paket deposu (OSV) |
| suse:spacewalk-backend | 4.2.24-150300.4.29.5 · SUSE:Manager Proxy Module 4.2 | Paket deposu (OSV) |
| suse:spacewalk-certs-tools | 4.2.18-150300.3.24.3 · SUSE:Manager Proxy Module 4.2 | Paket deposu (OSV) |
| suse:spacewalk-client-tools | 4.2.20-150300.4.24.3 · SUSE:Manager Proxy Module 4.2 | Paket deposu (OSV) |
| suse:spacewalk-proxy | 4.2.12-150300.3.21.3 · SUSE:Manager Proxy Module 4.2 | Paket deposu (OSV) |
| suse:spacewalk-web | 4.2.29-150300.3.27.3 · SUSE:Manager Proxy Module 4.2 | Paket deposu (OSV) |
| suse:susemanager-tftpsync-recv | 4.2.5-150300.3.6.2 · SUSE:Manager Proxy Module 4.2 | Paket deposu (OSV) |
| suse:uyuni-common-libs | 4.2.7-150300.3.9.2 · SUSE:Manager Proxy Module 4.2 | Paket 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.
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.
Ulusal bildirim (Siber Güvenlik Başkanlığı / USOM)
Bu kaydı anan resmi güvenlik bildirimleri; çözüm önerisi kurumun sayfasında.
- TR-22-0544 · 11 Ağu 2022(Ubuntu Güvenlik Güncellemesi)
- TR-22-0534 · 9 Ağu 2022(RedHat Güvenlik Güncellemesi)
Bu kayıtta yok: araştırmacı kredisi · varyant ya da zincir adayı · herkese açık ödül programı.
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
Zayıflık sınıfı (CWE)
CWE-400 · Uncontrolled Resource ConsumptionCVSS 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ı
function expand(node) {
return node.children.map(expand);
}Düzeltilmiş
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ı.
Saldırı desenleri (CAPEC)
ATT&CK teknikleri
Değişiklik günlüğü (1)
- Düzeltme✗ → ✓
Takip ettiğiniz kayıtlarda bu değişiklikler bildirim olarak da gelir. →
Referanslar
Tüm referansları göster (8 daha)Daha az göster
- github.com/moment/moment/security/advisories/GHSA-wc69-rhjr-hc9g
- lists.debian.org/debian-lts-announce/2023/01/msg00035.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6QIO6YNLTK2T7SPKDS4JEL45FANLNC2Q/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IWY24RJA3SBJGA5N4CU4VBPHJPPPJL5O/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ORJX2LF6KMPIHP6B2P6KZIVKMLE3LVJ5/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZMX5YHELQVCGKKQVFXIYOTBMN23YYSRO/
- security.netapp.com/advisory/ntap-20221014-0003/
- security.netapp.com/advisory/ntap-20241108-0002/
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.