Expr has Denial of Service via Unbounded Recursion in Builtin Functions
Expr is an expression language and expression evaluation for Go. Prior to version 1.17.7, several builtin functions in Expr, including `flatten`, `min`, `max`, `mean`, and `median`, perform recursive traversal over user-provided data structures without enforcing a maximum recursion depth. If the evaluation environment contains deeply nested or cyclic data structures, these functions may recurse indefinitely until exceed the Go runtime stack limit. This results in a stack overflow panic, causing the host application to crash. While exploitability depends on whether an attacker can influence or inject cyclic or pathologically deep data into the evaluation environment, this behavior represents a denial-of-service (DoS) risk and affects overall library robustness. Instead of returning a recoverable evaluation error, the process may terminate unexpectedly. In affected versions, evaluation of expressions that invoke certain builtin functions on untrusted or insufficiently validated data structures can lead to a process-level crash due to stack exhaustion. This issue is most relevant in scenarios where Expr is used to evaluate expressions against externally supplied or dynamically constructed environments; cyclic references (directly or indirectly) can be introduced into arrays, maps, or structs; and there are no application-level safeguards preventing deeply nested input data. In typical use cases with controlled, acyclic data, the issue may not manifest. However, when present, the resulting panic can be used to reliably crash the application, constituting a denial of service. The issue has been fixed in the v1.17.7 versions of Expr. The patch introduces a maximum recursion depth limit for affected builtin functions. When this limit is exceeded, evaluation aborts gracefully and returns a descriptive error instead of panicking. Additionally, the maximum depth can be customized by users via `builtin.MaxDepth`, allowing applications with legitimate deep structures to raise the limit in a controlled manner. Users are strongly encouraged to upgrade to the patched release, which includes both the recursion guard and comprehensive test coverage to prevent regressions. For users who cannot immediately upgrade, some mitigations are recommended. Ensure that evaluation environments cannot contain cyclic references, validate or sanitize externally supplied data structures before passing them to Expr, and/or wrap expression evaluation with panic recovery to prevent a full process crash (as a last-resort defensive measure). These workarounds reduce risk but do not fully eliminate the issue without the patch.
- BDU:2026-05696
- GHSA-cfpf-hrx2-8rv6
- ALSA-2025:23664
- ALSA-2025:23729
- GO-2025-4245
- openSUSE-SU-2025:15825-1
- openSUSE-SU-2025:15826-1
- openSUSE-SU-2025:15832-1
- openSUSE-SU-2026:10021-1
- openSUSE-SU-2026:10067-1
- openSUSE-SU-2026:10073-1
- openSUSE-SU-2026:20099-1
- openSUSE-SU-2026:20140-1
- RHSA-2025:23664
- RHSA-2025:23729
- RHSA-2026:0512
- RHSA-2026:0513
- RHSA-2026:0514
- RLSA-2025:23664
- RLSA-2025:23729
- Yayın
- 16 Ara 2025
- Güncelleme
- 17 Haz 2026
- EPSS
- %0,4 · 34. yüzdelik
- CWE
- CWE-770
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
30
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 0 / 30 · %0,4
CISA SSVC kararı
- Sömürü
- yok
- Otomatikleştirilebilir
- evet
- Teknik etki
- kısmi
Vulnrichment: CISA'nın karar ağacı girdileri.
CNA ile NVD puanı
- NVD
- —
- CNA · GitHub_M
- 7,5
- NVD henüz kendi puanını vermedi; gösterilen puan CNA’nı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.
Noroxi analizi
Bu kayıt için henüz Noroxi analizi yok
Veritabanındaki yüz binlerce 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 isteyinEtkilenen sistemler
| Üretici | Ürün | CPE |
|---|---|---|
| expr-lang | expr | cpe:2.3:a:expr-lang:expr |
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.
- expr-lang expr1.17.7 öncesi
Ü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.
expr-lang expr
- < 1.17.7etkilenir
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 | opentelemetry-collector | 0.135.0-2.el10_1 öncesi | 0.135.0-2.el10_1 |
| AlmaLinux:9 | opentelemetry-collector | 0.135.0-2.el9_7 öncesi | 0.135.0-2.el9_7 |
| Debian:11 | golang-github-antonmedv-expr | tüm sürümler | — |
| Go | github.com/expr-lang/expr | 1.17.7 öncesi | 1.17.7 |
| openSUSE:Leap 16.0 | alloy | 1.12.2-160000.1.1 öncesi | 1.12.2-160000.1.1 |
| openSUSE:Leap 16.0 | coredns | 1.14.0-bp160.1.1 öncesi | 1.14.0-bp160.1.1 |
| openSUSE:Tumbleweed | alloy | 1.12.2-2.1 öncesi | 1.12.2-2.1 |
| openSUSE:Tumbleweed | coredns | 1.14.0-1.1 öncesi | 1.14.0-1.1 |
| openSUSE:Tumbleweed | coredns-for-k8s1.33 | 1.12.0-2.1 öncesi | 1.12.0-2.1 |
| openSUSE:Tumbleweed | coredns-for-k8s1.34 | 1.12.1-2.1 öncesi | 1.12.1-2.1 |
| openSUSE:Tumbleweed | coredns-for-k8s1.35 | 1.13.1-2.1 öncesi | 1.13.1-2.1 |
| openSUSE:Tumbleweed | grafana | 11.6.7-2.1 öncesi | 11.6.7-2.1 |
| Red Hat:enterprise_linux_eus:10.0 | opentelemetry-collector | 0:0.135.0-2.el10_0 öncesi | 0:0.135.0-2.el10_0 |
| Red Hat:enterprise_linux:10.1 | opentelemetry-collector | 0:0.135.0-2.el10_1 öncesi | 0:0.135.0-2.el10_1 |
| Red Hat:enterprise_linux:9::appstream | opentelemetry-collector | 0:0.135.0-2.el9_7 öncesi | 0:0.135.0-2.el9_7 |
| Red Hat:rhel_eus:9.4::appstream | opentelemetry-collector | 0:0.135.0-2.el9_4 öncesi | 0:0.135.0-2.el9_4 |
| Red Hat:rhel_eus:9.6::appstream | opentelemetry-collector | 0:0.135.0-2.el9_6 öncesi | 0:0.135.0-2.el9_6 |
| Rocky Linux:10 | opentelemetry-collector | 0:0.135.0-2.el10_1 öncesi | 0:0.135.0-2.el10_1 |
| Rocky Linux:9 | opentelemetry-collector | 0:0.135.0-2.el9_7 öncesi | 0:0.135.0-2.el9_7 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | alloy | 1.12.2-150700.15.15.1 öncesi | 1.12.2-150700.15.15.1 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP7 | golang-github-prometheus-promu | 0.17.0-150000.3.30.1 öncesi | 0.17.0-150000.3.30.1 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP7 | golang-github-prometheus-promu | 0.17.0-150000.3.30.1 öncesi | 0.17.0-150000.3.30.1 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP7 | grafana | 11.6.11-150200.3.83.1 öncesi | 11.6.11-150200.3.83.1 |
| SUSE:Linux Enterprise Module for Package Hub 15 SP7 | grafana | 11.6.11-150200.3.83.1 öncesi | 11.6.11-150200.3.83.1 |
+50
Aynı üründe
expr-lang: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2025-29786Memory Exhaustion in Expr Parser with Unrestricted Input30İ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:opentelemetry-collector | 0.135.0-2.el10_1 · AlmaLinux:10 | Paket deposu (OSV) |
| Go:github.com/expr-lang/expr | 1.17.7 | Paket deposu (OSV) |
| opensuse:dracut-saltboot | 1.1.0-150000.1.65.1 · openSUSE:Leap 15.6 | Paket deposu (OSV) |
| opensuse:golang-github-QubitProducts-exporter_exporter | 0.4.0-150000.1.21.1 · openSUSE:Leap 15.6 | Paket deposu (OSV) |
| red hat:opentelemetry-collector | 0:0.135.0-2.el10_1 · Red Hat:enterprise_linux:10.1 | Paket deposu (OSV) |
| rocky linux:opentelemetry-collector | 0:0.135.0-2.el10_1 · Rocky Linux:10 | Paket deposu (OSV) |
| suse:alloy | 1.12.2-150700.15.15.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP7 | Paket deposu (OSV) |
| suse:dracut-saltboot | 1.1.0-150000.1.65.1 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
| suse:golang-github-boynux-squid_exporter | 1.13.0-120002.3.3.1 · SUSE:Multi Linux Manager Tools SLE-12 | Paket deposu (OSV) |
| suse:golang-github-boynux-squid_exporter | 1.13.0-150000.1.12.1 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
| suse:golang-github-lusitaniae-apache_exporter | 1.0.10-120002.3.3.1 · SUSE:Multi Linux Manager Tools SLE-12 | Paket deposu (OSV) |
| suse:golang-github-lusitaniae-apache_exporter | 1.0.10-150000.1.26.1 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
| suse:golang-github-prometheus-alertmanager | 0.28.1-120002.4.6.1 · SUSE:Multi Linux Manager Tools SLE-12 | Paket deposu (OSV) |
| suse:golang-github-prometheus-node_exporter | 1.9.1-120002.3.3.1 · SUSE:Multi Linux Manager Tools SLE-12 | Paket deposu (OSV) |
| suse:golang-github-prometheus-prometheus | 3.5.0-120002.3.3.1 · SUSE:Multi Linux Manager Tools SLE-12 | Paket deposu (OSV) |
| suse:golang-github-prometheus-prometheus | 3.5.0-150000.3.67.1 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
| suse:golang-github-prometheus-promu | 0.17.0-150000.3.30.1 · SUSE:Linux Enterprise Module for Package Hub 15 SP7 | Paket deposu (OSV) |
| suse:golang-github-QubitProducts-exporter_exporter | 0.4.0-120002.3.3.1 · SUSE:Multi Linux Manager Tools SLE-12 | Paket deposu (OSV) |
| suse:golang-github-QubitProducts-exporter_exporter | 0.4.0-150000.1.21.1 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
| suse:grafana | 11.5.10-120002.4.9.1 · SUSE:Multi Linux Manager Tools SLE-12 | Paket deposu (OSV) |
| suse:grafana | 11.6.11-150000.1.90.1 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
| suse:mgr-push | 5.1.5-120002.3.6.1 · SUSE:Multi Linux Manager Tools SLE-12 | Paket deposu (OSV) |
| suse:prometheus-blackbox_exporter | 0.26.0-120002.3.3.1 · SUSE:Multi Linux Manager Tools SLE-12 | Paket deposu (OSV) |
| suse:prometheus-blackbox_exporter | 0.26.0-150000.1.30.2 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
| suse:rhnlib | 5.1.4-120002.3.6.1 · SUSE:Multi Linux Manager Tools SLE-12 | Paket deposu (OSV) |
| suse:spacecmd | 5.0.15-150000.3.142.1 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
| suse:spacecmd | 5.1.12-120002.3.6.1 · SUSE:Multi Linux Manager Tools SLE-12 | Paket deposu (OSV) |
| suse:uyuni-tools | 0.1.38-150000.1.30.1 · SUSE:Manager Client Tools 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.
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.
- CVE-2025-29786274 gün araylaMemory Exhaustion in Expr Parser with Unrestricted Input30İzleyin
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
- 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-770 · Allocation of Resources Without Limits or ThrottlingCVSS vektörü
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-secondary
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)
- FloodingCAPEC-125olasılık: High · Medium
- Excessive AllocationCAPEC-130olasılık: Medium · Medium
- XML Ping of the DeathCAPEC-147olasılık: Low · Medium
- Exponential Data ExpansionCAPEC-197olasılık: High · Medium
- Serialized Data Parameter BlowupCAPEC-229olasılık: High · High
- Serialized Data with Nested PayloadsCAPEC-230olasılık: Medium · High
- Oversized Serialized Data PayloadsCAPEC-231olasılık: Medium · High
- HTTP DoSCAPEC-469Low
ATT&CK teknikleri
- Network Denial of Service:Direct Network FloodT1498.001
- Network Denial of Service:Reflection AmplificationT1498.002
- Endpoint Denial of ServiceT1499
- Endpoint Denial of Service: OS Exhaustion FloodT1499.001
- Endpoint Denial of Service:Service Exhaustion FloodT1499.002
- Endpoint Denial of Service:Application Exhaustion FloodT1499.003
Değişiklik günlüğü
- Düzeltme✗ → ✓
Takip ettiğiniz kayıtlarda bu değişiklikler bildirim olarak da gelir. →
Referanslar
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.