CVE-2017-1000254: libcurl may read outside of a heap allocated buffer when doing FTP.
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ığı %8,1 (FIRST EPSS); kayıtların %94,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.
- Düzeltilmiş sürüm: curl (Alpine:v3.3) 7.55.0-r1; curl (Alpine:v3.5) 7.56.0-r0; curl (Debian:12) 7.56.1-1.
Şimdilik düşük öncelik. curl (Alpine:v3.3) 7.55.0-r1; curl (Alpine:v3.5) 7.56.0-r0; curl (Debian:12) 7.56.1-1 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
libcurl may read outside of a heap allocated buffer when doing FTP. When libcurl connects to an FTP server and successfully logs in (anonymous or not), it asks the server for the current directory with the `PWD` command. The server then responds with a 257 response containing the path, inside double quotes. The returned path name is then kept by libcurl for subsequent uses. Due to a flaw in the string parser for this directory name, a directory name passed like this but without a closing double quote would lead to libcurl not adding a trailing NUL byte to the buffer holding the name. When libcurl would then later access the string, it could read beyond the allocated heap buffer and crash or wrongly access data beyond the buffer, thinking it was part of the path. A malicious server could abuse this fact and effectively prevent libcurl-based clients to work with it - the PWD command is always issued on new FTP connections and the mistake has a high chance of causing a segfault. The simple fact that this has issue remained undiscovered for this long could suggest that malformed PWD responses are rare in benign servers. We are not aware of any exploit of this flaw. This bug was introduced in commit [415d2e7cb7](https://github.com/curl/curl/commit/415d2e7cb7), March 2005. In libcurl version 7.56.0, the parser always zero terminates the string but also rejects it if not terminated properly with a final double quote.
- Yayın
- 6 Eki 2017
- Güncelleme
- 16 Haz 2026
- EPSS
- %8,1 · 94. yüzdelik
- CWE
- CWE-119
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 · %8,1
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.
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 |
|---|---|---|
| haxx | libcurl | cpe:2.3:a:haxx:libcurl |
Etkilenen sürümler
NVD sürüm aralıkları (katalogdaki ürünler için). Stack’inize sürümle eklerseniz eşleşme bunlarla yapılır.
- haxx libcurl7.10
- haxx libcurl7.10.1
- haxx libcurl7.10.2
- haxx libcurl7.10.3
- haxx libcurl7.10.4
- haxx libcurl7.10.5
- haxx libcurl7.10.6
- haxx libcurl7.10.7
+12 satır daha
- haxx libcurl7.10.8
- haxx libcurl7.11.0
- haxx libcurl7.11.1
- haxx libcurl7.11.2
- haxx libcurl7.12.0
- haxx libcurl7.12.1
- haxx libcurl7.12.2
- haxx libcurl7.12.3
- haxx libcurl7.13.0
- haxx libcurl7.13.1
- haxx libcurl7.13.2
- haxx libcurl7.14.0
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 |
|---|---|---|---|
| Alpine:v3.3 | curl | 7.55.0-r1 öncesi | 7.55.0-r1 |
| Alpine:v3.5 | curl | 7.56.0-r0 öncesi | 7.56.0-r0 |
| Debian:12 | curl | 7.56.1-1 öncesi | 7.56.1-1 |
| Debian:7 | curl | 7.26.0-1+wheezy21 öncesi | 7.26.0-1+wheezy21 |
| Debian:8 | curl | 7.38.0-4+deb8u6 öncesi | 7.38.0-4+deb8u6 |
| Debian:9 | curl | 7.52.1-5+deb9u1 öncesi | 7.52.1-5+deb9u1 |
| openSUSE:Tumbleweed | curl | 7.79.1-1.1 öncesi | 7.79.1-1.1 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-curl | 0:7.61.1-1.el6 öncesi | 0:7.61.1-1.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-curl-debuginfo | 0:7.61.1-1.el6 öncesi | 0:7.61.1-1.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-httpd | 0:2.4.34-7.el6 öncesi | 0:2.4.34-7.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-httpd-debuginfo | 0:2.4.34-7.el6 öncesi | 0:2.4.34-7.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-httpd-devel | 0:2.4.34-7.el6 öncesi | 0:2.4.34-7.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-httpd-manual | 0:2.4.34-7.el6 öncesi | 0:2.4.34-7.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-httpd-tools | 0:2.4.34-7.el6 öncesi | 0:2.4.34-7.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-libcurl | 0:7.61.1-1.el6 öncesi | 0:7.61.1-1.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-libcurl-devel | 0:7.61.1-1.el6 öncesi | 0:7.61.1-1.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-libnghttp2 | 0:1.7.1-7.el6 öncesi | 0:1.7.1-7.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-libnghttp2-devel | 0:1.7.1-7.el6 öncesi | 0:1.7.1-7.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-mod_ldap | 0:2.4.34-7.el6 öncesi | 0:2.4.34-7.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-mod_proxy_html | 1:2.4.34-7.el6 öncesi | 1:2.4.34-7.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-mod_session | 0:2.4.34-7.el6 öncesi | 0:2.4.34-7.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-mod_ssl | 1:2.4.34-7.el6 öncesi | 1:2.4.34-7.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-nghttp2 | 0:1.7.1-7.el6 öncesi | 0:1.7.1-7.el6 |
| Red Hat:rhel_software_collections:3::el6 | httpd24-nghttp2-debuginfo | 0:1.7.1-7.el6 öncesi | 0:1.7.1-7.el6 |
+23
Aynı üründe
haxx: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2023-38545This flaw makes curl overflow a heap based buffer in the SOCKS5 proxy
handshake.62Bu hafta
- CVE-2019-5436A heap buffer overflow in the TFTP receiving code allows for DoS or arbitrary code execution in libcurl versions 7.19.4 through 7.64.1.46Planlayın
- CVE-2019-3822libcurl versions from 7.36.0 to before 7.64.0 are vulnerable to a stack-based buffer overflow.43Planlayın
Bu üründe bundan önce ve sonra yayımlananlar
- ← ÖncekiCVE-2017-10000994 Eki 2017 · When asking to get a file from a file:// URL, libcurl provides a feature that outputs meta-data about the file using HTTP-like headers.27İzleyin
- ← ÖncekiCVE-2017-10001004 Eki 2017 · When doing a TFTP transfer and curl/libcurl is given a URL that contains a very long file name (longer than about 515 bytes), the file name…27İzleyin
- Sonraki →CVE-2017-100025731 Eki 2017 · An IMAP FETCH response line indicates the size of the returned data, in number of bytes.38İ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 |
|---|---|---|
| alpine:curl | 7.55.0-r1 · Alpine:v3.3 | Paket deposu (OSV) |
| debian:curl | 7.56.1-1 · Debian:12 | Paket deposu (OSV) |
| opensuse:curl | 7.79.1-1.1 · openSUSE:Tumbleweed | Paket deposu (OSV) |
| red hat:httpd24-curl | 0:7.61.1-1.el6 · Red Hat:rhel_software_collections:3::el6 | Paket deposu (OSV) |
| red hat:httpd24-curl-debuginfo | 0:7.61.1-1.el6 · Red Hat:rhel_software_collections:3::el6 | Paket deposu (OSV) |
| red hat:httpd24-httpd | 0:2.4.34-7.el6 · Red Hat:rhel_software_collections:3::el6 | Paket deposu (OSV) |
| red hat:httpd24-httpd-debuginfo | 0:2.4.34-7.el6 · Red Hat:rhel_software_collections:3::el6 | Paket deposu (OSV) |
| red hat:httpd24-httpd-devel | 0:2.4.34-7.el6 · Red Hat:rhel_software_collections:3::el6 | Paket deposu (OSV) |
| red hat:httpd24-httpd-manual | 0:2.4.34-7.el6 · Red Hat:rhel_software_collections:3::el6 | Paket deposu (OSV) |
| red hat:httpd24-httpd-tools | 0:2.4.34-7.el6 · Red Hat:rhel_software_collections:3::el6 | Paket deposu (OSV) |
| red hat:httpd24-libcurl | 0:7.61.1-1.el6 · Red Hat:rhel_software_collections:3::el6 | Paket deposu (OSV) |
| red hat:httpd24-libcurl-devel | 0:7.61.1-1.el6 · Red Hat:rhel_software_collections:3::el6 | Paket deposu (OSV) |
| red hat:httpd24-libnghttp2 | 0:1.7.1-7.el6 · Red Hat:rhel_software_collections:3::el6 | Paket deposu (OSV) |
| red hat:httpd24-libnghttp2-devel | 0:1.7.1-7.el6 · Red Hat:rhel_software_collections:3::el6 | Paket deposu (OSV) |
| red hat:httpd24-mod_ldap | 0:2.4.34-7.el6 · Red Hat:rhel_software_collections:3::el6 | Paket deposu (OSV) |
| suse:curl | 7.19.7-1.20.53.6.1 · SUSE:Studio Onsite 1.3 | Paket deposu (OSV) |
| suse:curl-openssl1 | 7.19.7-1.70.8.1 · SUSE:Linux Enterprise Server 11-SECURITY | 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.
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.
Bu kayıtta yok: EPSS geçmişi · 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-119 · Improper Restriction of Operations within the Bounds of a Memory BufferCVSS vektörü
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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)
- Buffer Overflow via Environment VariablesCAPEC-10olasılık: High · High
- Overflow BuffersCAPEC-100olasılık: High · Very High
- Buffer ManipulationCAPEC-123olasılık: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14olasılık: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24olasılık: High · High
- MIME ConversionCAPEC-42olasılık: High · High
- Overflow Binary Resource FileCAPEC-44olasılık: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45olasılık: High · High
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 (10 daha)Daha az göster
- www.securityfocus.com/bid/101115
- www.securitytracker.com/id/1039509
- access.redhat.com/errata/RHSA-2018:2486
- access.redhat.com/errata/RHSA-2018:3558
- curl.haxx.se/673d0cd8.patch
- curl.haxx.se/docs/adv_20171004.html
- lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
- lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
- security.gentoo.org/glsa/201712-04
- support.apple.com/HT208331
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.