expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler fun
expat before version 2.4.0 does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler function, which allows remote attackers to cause a denial of service (resource consumption), send HTTP requests to intranet servers, or read arbitrary files via a crafted XML document, aka an XML External Entity (XXE) issue. NOTE: it could be argued that because expat already provides the ability to disable external entity expansion, the responsibility for resolving this issue lies with application developers; according to this argument, this entry should be REJECTed, and each affected application would need its own CVE.
- Yayın
- 21 Oca 2014
- Güncelleme
- 16 Haz 2026
- EPSS
- %19,4 · 97. yüzdelik
- CWE
- CWE-611
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
33
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 27 / 40 · 6.8 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 6 / 30 · %19,4
Etkilenen sistemler
| Üretici | Ürün | CPE |
|---|---|---|
| libexpat project | libexpat | cpe:2.3:a:libexpat_project:libexpat |
| python | python | cpe:2.3:a:python:python |
| apple | ipados | cpe:2.3:o:apple:ipados |
| apple | iphone os | cpe:2.3:o:apple:iphone_os |
| apple | macos | cpe:2.3:o:apple:macos |
| apple | tvos | cpe:2.3:o:apple:tvos |
| apple | watchos | cpe:2.3:o:apple:watchos |
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.
- apple ipados14.8 öncesi
- apple iphone os14.8 öncesi
- apple macos11.6 öncesi
- apple tvos15.0 öncesi
- apple watchos8.0 öncesi
- libexpat project libexpat2.4.0 öncesi
- python python3.9.0 ve sonrası · 3.9.7 öncesi
- python python3.8.0 ve sonrası · 3.8.12 öncesi
- python python3.7.0 ve sonrası · 3.7.12 öncesi
- python python3.6.0 ve sonrası · 3.6.15 öncesi
Üreticinin bildirdiği sürümler
Kaydı açan otorite (redhat) tarafından bildirilen etkilenen sürüm aralıkları. NVD'nin CPE analizinden bağımsızdır ve genellikle ondan önce gelir.
github.com/libexpat/libexpat/ libexpat
- 2.4.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 |
|---|---|---|---|
| Debian:12 | expat | 2.4.1-2 öncesi | 2.4.1-2 |
| Debian:12 | libxmltok | tüm sürümler | — |
| openSUSE:Tumbleweed | expat | 2.4.1-1.2 öncesi | 2.4.1-1.2 |
| openSUSE:Tumbleweed | python38 | 3.8.12-1.2 öncesi | 3.8.12-1.2 |
| Red Hat:enterprise_linux:8::baseos | expat | 0:2.5.0-1.el8_10 öncesi | 0:2.5.0-1.el8_10 |
| Red Hat:enterprise_linux:8::baseos | expat-debuginfo | 0:2.5.0-1.el8_10 öncesi | 0:2.5.0-1.el8_10 |
| Red Hat:enterprise_linux:8::baseos | expat-debugsource | 0:2.5.0-1.el8_10 öncesi | 0:2.5.0-1.el8_10 |
| Red Hat:enterprise_linux:8::baseos | expat-devel | 0:2.5.0-1.el8_10 öncesi | 0:2.5.0-1.el8_10 |
| Red Hat:enterprise_linux:9::appstream | expat-debuginfo | 0:2.4.9-1.el9_1 öncesi | 0:2.4.9-1.el9_1 |
| Red Hat:enterprise_linux:9::appstream | expat-debugsource | 0:2.4.9-1.el9_1 öncesi | 0:2.4.9-1.el9_1 |
| Red Hat:enterprise_linux:9::appstream | expat-devel | 0:2.4.9-1.el9_1 öncesi | 0:2.4.9-1.el9_1 |
| Red Hat:enterprise_linux:9::baseos | expat | 0:2.4.9-1.el9_1 öncesi | 0:2.4.9-1.el9_1 |
| Red Hat:rhel_aus:8.2::baseos | expat | 0:2.2.10-1.el8_2 öncesi | 0:2.2.10-1.el8_2 |
| Red Hat:rhel_aus:8.4::baseos | expat | 0:2.2.10-1.el8_4 öncesi | 0:2.2.10-1.el8_4 |
| Red Hat:rhel_aus:8.6::baseos | expat | 0:2.2.10-1.el8_6 öncesi | 0:2.2.10-1.el8_6 |
| Red Hat:rhel_e4s:8.8::baseos | expat | 0:2.2.10-1.el8_8 öncesi | 0:2.2.10-1.el8_8 |
| Red Hat:rhel_e4s:9.0::baseos | expat | 0:2.2.10-12.el9_0.4 öncesi | 0:2.2.10-12.el9_0.4 |
| SUSE:Linux Micro 6.0 | expat | 2.7.1-1.1 öncesi | 2.7.1-1.1 |
| SUSE:Linux Micro 6.1 | expat | 2.7.1-slfo.1.1_1.1 öncesi | 2.7.1-slfo.1.1_1.1 |
Aynı üründe
libexpat project: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2022-25236xmlparse.c in Expat (aka libexpat) before 2.4.5 allows attackers to insert namespace-separator characters into namespace URIs.50Planlayın
- CVE-2022-25315In Expat (aka libexpat) before 2.4.5, there is an integer overflow in storeRawNames.40Planlayın
- CVE-2022-25235xmltok_impl.c in Expat (aka libexpat) before 2.4.5 lacks certain validation of encoding, such as checks for whether a UTF-8 character is val40Planlayın
- CVE-2022-23852Expat (aka libexpat) before 2.4.4 has a signed integer overflow in XML_GetBuffer, for configurations with a nonzero XML_CONTEXT_BYTES.40Planlayın
- CVE-2022-22824defineAttribute in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.40Planlayın
- CVE-2022-22823build_model in xmlparse.c in Expat (aka libexpat) before 2.4.3 has an integer overflow.40Planlayın
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 |
|---|---|---|
| github.com/libexpat/libexpat/ libexpat | 2.4.0 | Üretici (CNA) |
| debian:expat | 2.4.1-2 · Debian:12 | Paket deposu (OSV) |
| opensuse:expat | 2.4.1-1.2 · openSUSE:Tumbleweed | Paket deposu (OSV) |
| opensuse:python38 | 3.8.12-1.2 · openSUSE:Tumbleweed | Paket deposu (OSV) |
| red hat:expat | 0:2.4.9-1.el9_1 · Red Hat:enterprise_linux:9::baseos | Paket deposu (OSV) |
| red hat:expat-debuginfo | 0:2.4.9-1.el9_1 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:expat-debugsource | 0:2.4.9-1.el9_1 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:expat-devel | 0:2.4.9-1.el9_1 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| suse:expat | 2.7.1-1.1 · SUSE:Linux Micro 6.0 | 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ı
Başarılı olursa
- Gizlilik
- P · veriler okunabilir
- Bütünlük
- P · veri ya da yapılandırma değiştirilebilir
- Erişilebilirlik
- P · hizmet durdurulabilir
- Karmaşıklık
- M
- Gizlilik etkisi
- P
- Bütünlük etkisi
- P
- Erişilebilirlik etkisi
- P
Zayıflık sınıfı (CWE)
CWE-611 · Improper Restriction of XML External Entity ReferenceCVSS vektörü
AV:N/AC:M/Au:N/C:P/I:P/A:P
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
- seclists.org/fulldisclosure/2021/Oct/61
- seclists.org/fulldisclosure/2021/Oct/62
- seclists.org/fulldisclosure/2021/Oct/63
- seclists.org/fulldisclosure/2021/Sep/33
- seclists.org/fulldisclosure/2021/Sep/34
- seclists.org/fulldisclosure/2021/Sep/35
- seclists.org/fulldisclosure/2021/Sep/38
- seclists.org/fulldisclosure/2021/Sep/39
- seclists.org/fulldisclosure/2021/Sep/40
- securitytracker.com/id?1028213
- www.openwall.com/lists/oss-security/2013/04/12/6
- www.openwall.com/lists/oss-security/2021/10/07/4
- www.osvdb.org/90634
- www.securityfocus.com/bid/58233
- github.com/libexpat/libexpat/blob/R_2_4_1/expat/Changes
- lists.apache.org/thread.html/r41eca5f4f09e74436cbb05dec450fc2bef37b5d3e966aa7cc5fada6d%40%3Cannounce.apache.org%3E
- lists.apache.org/thread.html/rfb2c193360436e230b85547e85a41bea0916916f96c501f5b6fc4702%40%3Cusers.openoffice.apache.org%3E
- security.gentoo.org/glsa/201701-21
- support.apple.com/kb/HT212804
- support.apple.com/kb/HT212805
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.