lodash vulnerable to Code Injection via `_.template` imports key names
Impact: The fix for CVE-2021-23337 (https://github.com/advisories/GHSA-35jh-r3h4-6jhm) added validation for the variable option in _.template but did not apply the same validation to options.imports key names. Both paths flow into the same Function() constructor sink. When an application passes untrusted input as options.imports key names, an attacker can inject default-parameter expressions that execute arbitrary code at template compilation time. Additionally, _.template uses assignInWith to merge imports, which enumerates inherited properties via for..in. If Object.prototype has been polluted by any other vector, the polluted keys are copied into the imports object and passed to Function(). Patches: Users should upgrade to version 4.18.0. Workarounds: Do not pass untrusted input as key names in options.imports. Only use developer-controlled, static key names.
- BDU:2026-09406
- GHSA-35jh-r3h4-6jhm
- GHSA-r5fr-rjxr-66jc
- ALSA-2026:10710
- ALSA-2026:10713
- ALSA-2026:19167
- RHBA-2026:21387
- RHSA-2026:10710
- RHSA-2026:10713
- RHSA-2026:11454
- RHSA-2026:11469
- RHSA-2026:11470
- RHSA-2026:11471
- RHSA-2026:11493
- RHSA-2026:11494
- RHSA-2026:11495
- RHSA-2026:11516
- RHSA-2026:19008
- RHSA-2026:19167
- RHSA-2026:24331
- Yayın
- 31 Mar 2026
- Güncelleme
- 14 Eyl 2026
- EPSS
- %2,6 · 85. yüzdelik
- CWE
- CWE-94
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ı
Aksiyon skoru
40
Planlayın
Olağan yama döngüsüne alın.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 1 / 30 · %2,6
CISA SSVC kararı
- Sömürü
- yok
- Otomatikleştirilebilir
- hayır
- Teknik etki
- tam
Vulnrichment: CISA'nın karar ağacı girdileri.
CNA ile NVD puanı
- NVD
- 9,8
- CNA · openjs
- 8,1
- 1,7 puan fark
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
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 | CPE |
|---|---|---|
| lodash | lodash | cpe:2.3:a:lodash:lodash |
| lodash | lodash-amd | cpe:2.3:a:lodash:lodash-amd |
| lodash | lodash-es | cpe:2.3:a:lodash:lodash-es |
| lodash | lodash.template | cpe:2.3:a:lodash:lodash.template |
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.
- lodash lodash4.0.0 ve sonrası · 4.18.0 öncesi
- lodash lodash-amd4.0.0 ve sonrası · 4.18.0 öncesi
- lodash lodash-es4.0.0 ve sonrası · 4.18.0 öncesi
- lodash lodash.template4.0.0 ve sonrası · 4.18.0 öncesi
Üreticinin bildirdiği sürümler
Kaydı açan otorite (openjs) tarafından bildirilen etkilenen sürüm aralıkları. NVD'nin CPE analizinden bağımsızdır ve genellikle ondan önce gelir.
lodash lodash
- 4.18.0etkilenmez
- 4.0.0 ve sonrası · 4.18.0 öncesietkilenir · semver
lodash lodash-amd
- 4.18.0etkilenmez
- 4.0.0 ve sonrası · 4.18.0 öncesietkilenir · semver
lodash lodash-es
- 4.18.0etkilenmez
- 4.0.0 ve sonrası · 4.18.0 öncesietkilenir · semver
lodash lodash.template
- 4.18.0etkilenmez
- 4.0.0 ve sonrası · 4.18.0 öncesietkilenir · semver
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 |
|---|---|---|---|
| AlmaLinux:10 | cockpit-ha-cluster | 0.12.1-1.el10_1.3 öncesi | 0.12.1-1.el10_1.3 |
| AlmaLinux:9 | pcs | 0.11.11-2.el9_8.1 öncesi | 0.11.11-2.el9_8.1 |
| AlmaLinux:9 | pcs | 0.11.10-1.el9_7.3 öncesi | 0.11.10-1.el9_7.3 |
| AlmaLinux:9 | pcs-snmp | 0.11.11-2.el9_8.1 öncesi | 0.11.11-2.el9_8.1 |
| AlmaLinux:9 | pcs-snmp | 0.11.10-1.el9_7.3 öncesi | 0.11.10-1.el9_7.3 |
| Debian:12 | node-lodash | tüm sürümler | — |
| Debian:13 | node-lodash | 4.17.21+dfsg+~cs8.31.198.20210220-9+deb13u1 öncesi | 4.17.21+dfsg+~cs8.31.198.20210220-9+deb13u1 |
| Debian:14 | node-lodash | 4.18.1+dfsg-1 öncesi | 4.18.1+dfsg-1 |
| npm | lodash | 4.0.0 itibarıyla · 4.18.0 öncesi | 4.18.0 |
| npm | lodash | 4.17.21 öncesi | 4.17.21 |
| npm | lodash | 4.17.21 öncesi | 4.17.21 |
| npm | lodash-amd | 4.0.0 itibarıyla · 4.18.0 öncesi | 4.18.0 |
| npm | lodash-es | 4.0.0 itibarıyla · 4.18.0 öncesi | 4.18.0 |
| npm | lodash-es | 4.17.21 öncesi | 4.17.21 |
| npm | lodash-es | 4.17.21 öncesi | 4.17.21 |
| npm | lodash-template | 1.0.0 dahil öncesi | — |
| npm | lodash-template | 1.0.0 dahil öncesi | — |
| npm | lodash.template | 4.0.0 itibarıyla · 4.18.0 öncesi | 4.18.0 |
| npm | lodash.template | 4.5.0 dahil öncesi | — |
| npm | lodash.template | 4.5.0 dahil öncesi | — |
| Red Hat:ansible_automation_platform_developer:2.6::el10 | python3-click | 0:8.3.3-1.el10ap öncesi | 0:8.3.3-1.el10ap |
| Red Hat:ansible_automation_platform_developer:2.6::el9 | automation-controller | 0:4.7.12-1.el9ap öncesi | 0:4.7.12-1.el9ap |
| Red Hat:ansible_automation_platform_developer:2.6::el9 | automation-controller-cli | 0:4.7.12-1.el9ap öncesi | 0:4.7.12-1.el9ap |
| Red Hat:ansible_automation_platform_developer:2.6::el9 | python3.12-click | 0:8.3.3-1.el9ap öncesi | 0:8.3.3-1.el9ap |
+64
Aynı üründe
lodash: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2019-10744Versions of lodash lower than 4.17.12 are vulnerable to Prototype Pollution.38İzleyin
- CVE-2021-23337Lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.34İzleyin
- CVE-2020-8203Prototype pollution attack when using _.zipObjectDeep in lodash before 4.17.20.31İzleyin
- CVE-2025-13465Prototype Pollution Vulnerability in Lodash _.unset and _.omit functions28İzleyin
- CVE-2019-1010266lodash prior to 4.17.11 is affected by: CWE-400: Uncontrolled Resource Consumption.27İzleyin
- CVE-2018-3721lodash node module before 4.17.5 suffers from a Modification of Assumed-Immutable Data (MAID) vulnerability via defaultsDeep, merge, and mer27İ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 |
|---|---|---|
| lodash lodash | 4.18.0 | Üretici (CNA) |
| lodash lodash-amd | 4.18.0 | Üretici (CNA) |
| lodash lodash-es | 4.18.0 | Üretici (CNA) |
| lodash lodash.template | 4.18.0 | Üretici (CNA) |
| almalinux:cockpit-ha-cluster | 0.12.1-1.el10_1.3 · AlmaLinux:10 | Paket deposu (OSV) |
| almalinux:pcs | 0.11.10-1.el9_7.3 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:pcs-snmp | 0.11.10-1.el9_7.3 · AlmaLinux:9 | Paket deposu (OSV) |
| debian:node-lodash | 4.17.21+dfsg+~cs8.31.198.20210220-9+deb13u1 · Debian:13 | Paket deposu (OSV) |
| npm:lodash | 4.17.21 | Paket deposu (OSV) |
| npm:lodash | 4.18.0 | Paket deposu (OSV) |
| npm:lodash-amd | 4.18.0 | Paket deposu (OSV) |
| npm:lodash-es | 4.17.21 | Paket deposu (OSV) |
| npm:lodash-es | 4.18.0 | Paket deposu (OSV) |
| npm:lodash.template | 4.18.0 | Paket deposu (OSV) |
| red hat:cockpit | 0:356.1-1.el9_8 · Red Hat:enterprise_linux:9::baseos | Paket deposu (OSV) |
| red hat:cockpit-bridge | 0:356.1-1.el9_8 · Red Hat:enterprise_linux:9::baseos | Paket deposu (OSV) |
| red hat:cockpit-debuginfo | 0:356.1-1.el9_8 · Red Hat:enterprise_linux:9::baseos | Paket deposu (OSV) |
| red hat:cockpit-debugsource | 0:356.1-1.el9_8 · Red Hat:enterprise_linux:9::baseos | Paket deposu (OSV) |
| red hat:cockpit-doc | 0:356.1-1.el9_8 · Red Hat:enterprise_linux:9::baseos | Paket deposu (OSV) |
| red hat:cockpit-packagekit | 0:356.1-1.el9_8 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:cockpit-storaged | 0:356.1-1.el9_8 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:cockpit-system | 0:356.1-1.el9_8 · Red Hat:enterprise_linux:9::baseos | Paket deposu (OSV) |
| red hat:cockpit-ws | 0:356.1-1.el9_8 · Red Hat:enterprise_linux:9::baseos | Paket deposu (OSV) |
| red hat:cockpit-ws-selinux | 0:356.1-1.el9_8 · Red Hat:enterprise_linux:9::baseos | Paket deposu (OSV) |
| red hat:pcs | 0:0.11.10-1.el9_7.3 · Red Hat:enterprise_linux:9::highavailability | Paket deposu (OSV) |
| red hat:pcs-snmp | 0:0.11.10-1.el9_7.3 · Red Hat:enterprise_linux:9::highavailability | Paket deposu (OSV) |
| rocky linux:cockpit-image-builder | 0:94.3-1.el10_2 · Rocky Linux:10 | Paket deposu (OSV) |
| rocky linux:pcs | 0:0.11.10-1.el9_7.3 · Rocky Linux:9 | Paket deposu (OSV) |
| RubyGems:lodash-rails | 4.17.21 | Paket deposu (OSV) |
İstismar durumu
Kavram kanıtı mevcut
Kamuya açık bir kavram kanıtı ya da tespit imzası var. İstismar bilgisi dışarıda; yamayı geciktirmeyin.
Kanıt
- GitHub’da kavram kanıtı deposu ×2
Noroxi istismar kodu barındırmaz ve istismar bağlantısı vermez. Metasploit modül adı ve Nuclei şablon kimliği gösterilir (kod değil, ad); Exploit-DB kayıtları ve PoC depoları yalnızca sayı olarak verilir.
| Kaynak | Tür | Tarih |
|---|---|---|
| GitHub’da kavram kanıtı deposu | stars:3 | 2026-04-01 |
| GitHub’da kavram kanıtı deposu | stars:0 | 2026-04-07 |
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
- İlk kavram kanıtıaynı gün
- Bugün30 Eyl 2026+183 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.
Kredi
Tüm araştırmacılarCNA 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.
- dolevmiz1bildiren
- M0nd0Rbildiren
- UlisesGascondüzeltme geliştirici
- falsyvaluesdüzeltme inceleyici
- jonchurchdüzeltme inceleyici
- threalwinkybildiren
- jdaltondüzeltme inceleyici
- bugbunny-researchbildiren
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
- yüksek · veriler okunabilir
- Bütünlük
- yüksek · veri ya da yapılandırma değiştirilebilir
- 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
- Yüksek
- Bütünlük etkisi
- Yüksek
- Erişilebilirlik etkisi
- Yüksek
Zayıflık sınıfı (CWE)
CWE-94 · Improper Control of Generation of Code ('Code Injection')CVSS vektörü
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
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)
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 isteyinDeğişiklik günlüğü
- Düzeltme✗ → ✓
Takip ettiğiniz kayıtlarda bu değişiklikler bildirim olarak da gelir. →
Referanslar
- cna.openjsf.org/security-advisories.html
- github.com/advisories/GHSA-35jh-r3h4-6jhm
- github.com/lodash/lodash/commit/3469357cff396a26c363f8c1b5a91dde28ba4b1c
- access.redhat.com/errata/RHBA-2026:21387
- access.redhat.com/errata/RHSA-2026:10131
- access.redhat.com/errata/RHSA-2026:10175
- access.redhat.com/errata/RHSA-2026:10710
- access.redhat.com/errata/RHSA-2026:10713
- access.redhat.com/errata/RHSA-2026:11454
- access.redhat.com/errata/RHSA-2026:11469
- access.redhat.com/errata/RHSA-2026:11470
- access.redhat.com/errata/RHSA-2026:11471
- access.redhat.com/errata/RHSA-2026:11493
- access.redhat.com/errata/RHSA-2026:11494
- access.redhat.com/errata/RHSA-2026:11495
- access.redhat.com/errata/RHSA-2026:11516
- access.redhat.com/errata/RHSA-2026:12277
- access.redhat.com/errata/RHSA-2026:12279
- access.redhat.com/errata/RHSA-2026:13545
- access.redhat.com/errata/RHSA-2026:13553
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.