Unauthorized File Access in npm CLI before before version 6.13.3
Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary File Write. It is possible for packages to create symlinks to files outside of thenode_modules folder through the bin field upon installation. A properly constructed entry in the package.json bin field would allow a package publisher to create a symlink pointing to arbitrary files on a user's system when the package is installed. This behavior is still possible through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.
- Yayın
- 12 Ara 2019
- Güncelleme
- 16 Haz 2026
- EPSS
- %3,3 · 88. yüzdelik
- CWE
- CWE-61
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
27
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 26 / 40 · 6.5 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 1 / 30 · %3,3
CNA ile NVD puanı
- NVD
- 6,5
- CNA · GitHub_M
- 7,7
- 1,2 puan fark
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
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 |
|---|---|---|
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | enterprise linux eus | cpe:2.3:o:redhat:enterprise_linux_eus |
| npmjs | npm | cpe:2.3:a:npmjs:npm |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
| oracle | graalvm | cpe:2.3:a:oracle:graalvm |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
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.
- fedoraproject fedora31
- npmjs npm6.13.3 öncesi
- opensuse leap15.1
- oracle graalvm19.3.0.2
- oracle graalvm20.3.3
- oracle graalvm21.2.2
- redhat enterprise linux8.0
- redhat enterprise linux eus8.1
Ü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.
npm cli
- < 6.13.3 ve sonrası · 6.13.3 öncesietkilenir
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:8 | nodejs-nodemon | 1.18.3-1.module_el8.3.0+2047+b07ac28e öncesi | 1.18.3-1.module_el8.3.0+2047+b07ac28e |
| AlmaLinux:8 | nodejs-nodemon | 1.18.3-1.module_el8.3.0+2023+d2377ea3 öncesi | 1.18.3-1.module_el8.3.0+2023+d2377ea3 |
| AlmaLinux:8 | nodejs-packaging | 17-3.module_el8.3.0+2023+d2377ea3 öncesi | 17-3.module_el8.3.0+2023+d2377ea3 |
| AlmaLinux:8 | nodejs-packaging | 17-3.module_el8.4.0+2521+c668cc9f öncesi | 17-3.module_el8.4.0+2521+c668cc9f |
| AlmaLinux:8 | nodejs-packaging | 17-3.module_el8.4.0+2224+b07ac28e öncesi | 17-3.module_el8.4.0+2224+b07ac28e |
| Debian:12 | npm | 6.13.4+ds-2 öncesi | 6.13.4+ds-2 |
| npm | npm | 6.13.3 öncesi | 6.13.3 |
| openSUSE:Leap 15.1 | nodejs8 | 8.17.0-lp151.2.9.1 öncesi | 8.17.0-lp151.2.9.1 |
| Red Hat:enterprise_linux:8::appstream | nodejs | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c öncesi | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c |
| Red Hat:enterprise_linux:8::appstream | nodejs | 1:12.14.1-1.module+el8.1.0+5466+30f75629 öncesi | 1:12.14.1-1.module+el8.1.0+5466+30f75629 |
| Red Hat:enterprise_linux:8::appstream | nodejs-debuginfo | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c öncesi | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c |
| Red Hat:enterprise_linux:8::appstream | nodejs-debuginfo | 1:12.14.1-1.module+el8.1.0+5466+30f75629 öncesi | 1:12.14.1-1.module+el8.1.0+5466+30f75629 |
| Red Hat:enterprise_linux:8::appstream | nodejs-debugsource | 1:12.14.1-1.module+el8.1.0+5466+30f75629 öncesi | 1:12.14.1-1.module+el8.1.0+5466+30f75629 |
| Red Hat:enterprise_linux:8::appstream | nodejs-debugsource | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c öncesi | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c |
| Red Hat:enterprise_linux:8::appstream | nodejs-devel | 1:12.14.1-1.module+el8.1.0+5466+30f75629 öncesi | 1:12.14.1-1.module+el8.1.0+5466+30f75629 |
| Red Hat:enterprise_linux:8::appstream | nodejs-devel | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c öncesi | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c |
| Red Hat:enterprise_linux:8::appstream | nodejs-devel-debuginfo | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c öncesi | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c |
| Red Hat:enterprise_linux:8::appstream | nodejs-docs | 1:12.14.1-1.module+el8.1.0+5466+30f75629 öncesi | 1:12.14.1-1.module+el8.1.0+5466+30f75629 |
| Red Hat:enterprise_linux:8::appstream | nodejs-docs | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c öncesi | 1:10.19.0-1.module+el8.1.0+5726+6ed65f8c |
| Red Hat:enterprise_linux:8::appstream | nodejs-nodemon | 0:1.18.3-1.module+el8.1.0+3369+37ae6a45 öncesi | 0:1.18.3-1.module+el8.1.0+3369+37ae6a45 |
| Red Hat:enterprise_linux:8::appstream | nodejs-packaging | 0:17-3.module+el8.1.0+3369+37ae6a45 öncesi | 0:17-3.module+el8.1.0+3369+37ae6a45 |
| Red Hat:enterprise_linux:8::appstream | npm | 1:6.13.4-1.12.14.1.1.module+el8.1.0+5466+30f75629 öncesi | 1:6.13.4-1.12.14.1.1.module+el8.1.0+5466+30f75629 |
| Red Hat:enterprise_linux:8::appstream | npm | 1:6.13.4-1.10.19.0.1.module+el8.1.0+5726+6ed65f8c öncesi | 1:6.13.4-1.10.19.0.1.module+el8.1.0+5726+6ed65f8c |
| Red Hat:rhel_e4s:8.0::appstream | nodejs | 1:10.19.0-1.module+el8.0.0+5738+1362a79c öncesi | 1:10.19.0-1.module+el8.0.0+5738+1362a79c |
+29
Aynı üründe
redhat: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2023-50387Certain DNSSEC aspects of the DNS protocol (in RFC 4033, 4034, 4035, 6840, and related RFCs) allow remote attackers to cause a denial of ser60Bu hafta
- CVE-2015-3246libuser before 0.56.13-8 and 0.60 before 0.60-7, as used in the userhelper program in the usermode package, directly modifies /etc/passwd, wKEV53Planlayın
- CVE-2017-5456A mechanism to bypass file system access protections in the sandbox using the file system request constructor through an IPC message.40Planlayın
- CVE-2017-5428An integer overflow in "createImageBitmap()" was reported through the Pwn2Own contest.40Planlayın
- CVE-2021-20325Missing fixes for CVE-2021-40438 and CVE-2021-26691 in the versions of httpd, as shipped in Red Hat Enterprise Linux 8.5.0, causes a securit39İzleyin
- CVE-2008-3844Certain Red Hat Enterprise Linux (RHEL) 4 and 5 packages for OpenSSH, as signed in August 2008 using a legitimate Red Hat GPG key, contain a38İ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 |
|---|---|---|
| almalinux:nodejs-nodemon | 1.18.3-1.module_el8.3.0+2023+d2377ea3 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:nodejs-packaging | 17-3.module_el8.4.0+2224+b07ac28e · AlmaLinux:8 | Paket deposu (OSV) |
| debian:npm | 6.13.4+ds-2 · Debian:12 | Paket deposu (OSV) |
| npm:npm | 6.13.3 | Paket deposu (OSV) |
| opensuse:nodejs8 | 8.17.0-lp151.2.9.1 · openSUSE:Leap 15.1 | Paket deposu (OSV) |
| red hat:nodejs | 1:12.14.1-1.module+el8.1.0+5466+30f75629 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:nodejs-debuginfo | 1:12.14.1-1.module+el8.1.0+5466+30f75629 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:nodejs-debugsource | 1:12.14.1-1.module+el8.1.0+5466+30f75629 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:nodejs-devel | 1:12.14.1-1.module+el8.1.0+5466+30f75629 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:nodejs-devel-debuginfo | 1:10.19.0-1.module+el8.0.0+5738+1362a79c · Red Hat:rhel_e4s:8.0::appstream | Paket deposu (OSV) |
| red hat:nodejs-docs | 1:12.14.1-1.module+el8.1.0+5466+30f75629 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:nodejs-nodemon | 0:1.18.3-1.module+el8.1.0+3369+37ae6a45 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:nodejs-packaging | 0:17-3.module+el8.1.0+3369+37ae6a45 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:npm | 1:6.13.4-1.12.14.1.1.module+el8.1.0+5466+30f75629 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:rh-nodejs10-nodejs | 0:10.19.0-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-nodejs10-nodejs-debuginfo | 0:10.19.0-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-nodejs10-nodejs-devel | 0:10.19.0-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| rocky linux:nodejs-nodemon | 0:1.18.3-1.module+el8.3.0+101+f84c7154 · Rocky Linux:8 | Paket deposu (OSV) |
| rocky linux:nodejs-packaging | 0:17-3.module+el8.3.0+101+f84c7154 · Rocky Linux:8 | Paket deposu (OSV) |
| suse:nodejs10 | 10.18.0-1.15.1 · SUSE:Linux Enterprise Module for Web and Scripting 12 | Paket deposu (OSV) |
| suse:nodejs12 | 12.15.0-1.6.1 · SUSE:Linux Enterprise Module for Web and Scripting 12 | Paket deposu (OSV) |
| suse:nodejs6 | 6.17.1-11.30.1 · SUSE:OpenStack Cloud 7 | Paket deposu (OSV) |
| suse:nodejs8 | 8.17.0-3.25.1 · SUSE:Linux Enterprise Module for Web and Scripting 15 | 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.
Referanslarda commit ya da PR bağlantısı yok.
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.
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.
- Düşük yetkili bir hesap yeterli.
- Kullanıcının bir şey yapması gerekmez.
- Özel bir koşul gerekmez; tekrarlanabilir.
Başarılı olursa
- Gizlilik
- yok
- Bütünlük
- yüksek · veri ya da yapılandırma değiştirilebilir
- Erişilebilirlik
- yok
- Saldırı vektörü
- Ağ
- Karmaşıklık
- Düşük
- Gereken yetki
- Düşük
- Kullanıcı etkileşimi
- Gerekmez
- Kapsam
- Değişmez
- Gizlilik etkisi
- Yok
- Bütünlük etkisi
- Yüksek
- Erişilebilirlik etkisi
- Yok
Zayıflık sınıfı (CWE)
CWE-61 · UNIX Symbolic Link (Symlink) FollowingCVSS vektörü
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
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)
ATT&CK teknikleri
—
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
- lists.opensuse.org/opensuse-security-announce/2020-01/msg00027.html
- access.redhat.com/errata/RHEA-2020:0330
- access.redhat.com/errata/RHSA-2020:0573
- access.redhat.com/errata/RHSA-2020:0579
- access.redhat.com/errata/RHSA-2020:0597
- access.redhat.com/errata/RHSA-2020:0602
- blog.npmjs.org/post/189618601100/binary-planting-with-the-npm-cli
- github.com/npm/cli/security/advisories/GHSA-m6cx-g6qm-p2cx
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z36UKPO5F3PQ3Q2POMF5LEKXWAH5RUFP/
- www.oracle.com/security-alerts/cpujan2020.html
- www.oracle.com/security-alerts/cpuoct2021.html
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.