Excessive resource consumption in mime/multipart
A denial of service is possible from excessive resource consumption in net/http and mime/multipart. Multipart form parsing with mime/multipart.Reader.ReadForm can consume largely unlimited amounts of memory and disk files. This also affects form parsing in the net/http package with the Request methods FormFile, FormValue, ParseMultipartForm, and PostFormValue. ReadForm takes a maxMemory parameter, and is documented as storing "up to maxMemory bytes +10MB (reserved for non-file parts) in memory". File parts which cannot be stored in memory are stored on disk in temporary files. The unconfigurable 10MB reserved for non-file parts is excessively large and can potentially open a denial of service vector on its own. However, ReadForm did not properly account for all memory consumed by a parsed form, such as map entry overhead, part names, and MIME headers, permitting a maliciously crafted form to consume well over 10MB. In addition, ReadForm contained no limit on the number of disk files created, permitting a relatively small request body to create a large number of disk temporary files. With fix, ReadForm now properly accounts for various forms of memory overhead, and should now stay within its documented limit of 10MB + maxMemory bytes of memory consumption. Users should still be aware that this limit is high and may still be hazardous. In addition, ReadForm now creates at most one on-disk temporary file, combining multiple form parts into a single temporary file. The mime/multipart.File interface type's documentation states, "If stored on disk, the File's underlying concrete type will be an *os.File.". This is no longer the case when a form contains more than one file part, due to this coalescing of parts into a single file. The previous behavior of using distinct files for each form part may be reenabled with the environment variable GODEBUG=multipartfiles=distinct. Users should be aware that multipart.ReadForm and the http.Request methods that call it do not limit the amount of disk consumed by temporary files. Callers can limit the size of form data with http.MaxBytesReader.
- BDU:2023-01943
- ALSA-2023:3083
- ALSA-2023:6346
- ALSA-2023:6363
- ALSA-2023:6402
- ALSA-2023:6473
- ALSA-2023:6474
- ALSA-2023:6938
- ALSA-2023:6939
- GO-2023-1569
- openSUSE-SU-2024:12707-1
- openSUSE-SU-2024:12708-1
- openSUSE-SU-2024:12798-1
- RHBA-2023:2181
- RHSA-2023:1325
- RHSA-2023:3083
- RHSA-2023:3445
- RHSA-2023:3450
- RHSA-2023:3612
- RHSA-2023:4003
- Yayın
- 28 Şub 2023
- Güncelleme
- 17 Haz 2026
- EPSS
- %1,2 · 68. 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 · %1,2
CISA SSVC kararı
- Sömürü
- yok
- Otomatikleştirilebilir
- evet
- Teknik etki
- kısmi
Vulnrichment: CISA'nın karar ağacı girdileri.
Etkilenen sistemler
| Üretici | Ürün | CPE |
|---|---|---|
| golang | go | cpe:2.3:a:golang:go |
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.
- golang go1.19.6 öncesi
- golang go1.20.0
Üreticinin bildirdiği sürümler
Kaydı açan otorite (Go) tarafından bildirilen etkilenen sürüm aralıkları. NVD'nin CPE analizinden bağımsızdır ve genellikle ondan önce gelir.
Go standard library mime/multipart
- 1.19.6 öncesietkilenir · semver
- 1.20.0-0 ve sonrası · 1.20.1 ö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:8 | aardvark-dns | 2:1.0.1-38.module_el8.9.0+3627+db8ec155 öncesi | 2:1.0.1-38.module_el8.9.0+3627+db8ec155 |
| AlmaLinux:8 | aardvark-dns | 2:1.7.0-1.module_el8.9.0+3657+d86e192f öncesi | 2:1.7.0-1.module_el8.9.0+3657+d86e192f |
| AlmaLinux:8 | buildah | 1:1.31.3-1.module_el8.9.0+3643+9234dc3b öncesi | 1:1.31.3-1.module_el8.9.0+3643+9234dc3b |
| AlmaLinux:8 | buildah | 1:1.24.6-7.module_el8.9.0+3627+db8ec155 öncesi | 1:1.24.6-7.module_el8.9.0+3627+db8ec155 |
| AlmaLinux:8 | buildah-tests | 1:1.31.3-1.module_el8.9.0+3643+9234dc3b öncesi | 1:1.31.3-1.module_el8.9.0+3643+9234dc3b |
| AlmaLinux:8 | buildah-tests | 1:1.24.6-7.module_el8.9.0+3627+db8ec155 öncesi | 1:1.24.6-7.module_el8.9.0+3627+db8ec155 |
| AlmaLinux:8 | cockpit-podman | 46-1.module_el8.7.0+3344+5bcd850f öncesi | 46-1.module_el8.7.0+3344+5bcd850f |
| AlmaLinux:8 | cockpit-podman | 75-1.module_el8.9.0+3643+9234dc3b öncesi | 75-1.module_el8.9.0+3643+9234dc3b |
| AlmaLinux:8 | conmon | 3:2.1.8-1.module_el8.9.0+3643+9234dc3b öncesi | 3:2.1.8-1.module_el8.9.0+3643+9234dc3b |
| AlmaLinux:8 | conmon | 2:2.1.4-2.module_el8.9.0+3627+db8ec155 öncesi | 2:2.1.4-2.module_el8.9.0+3627+db8ec155 |
| AlmaLinux:8 | container-selinux | 2:2.221.0-1.module_el8.9.0+3643+9234dc3b öncesi | 2:2.221.0-1.module_el8.9.0+3643+9234dc3b |
| AlmaLinux:8 | container-selinux | 2:2.205.0-3.module_el8.9.0+3627+db8ec155 öncesi | 2:2.205.0-3.module_el8.9.0+3627+db8ec155 |
| AlmaLinux:8 | containernetworking-plugins | 1:1.3.0-4.module_el8.9.0+3643+9234dc3b öncesi | 1:1.3.0-4.module_el8.9.0+3643+9234dc3b |
| AlmaLinux:8 | containernetworking-plugins | 1:1.1.1-5.module_el8.9.0+3627+db8ec155 öncesi | 1:1.1.1-5.module_el8.9.0+3627+db8ec155 |
| AlmaLinux:8 | containers-common | 2:1-38.module_el8.9.0+3627+db8ec155 öncesi | 2:1-38.module_el8.9.0+3627+db8ec155 |
| AlmaLinux:8 | containers-common | 2:1-54.module_el8.9.0+3673+0c64b403 öncesi | 2:1-54.module_el8.9.0+3673+0c64b403 |
| AlmaLinux:8 | crit | 3.18-4.module_el8.9.0+3643+9234dc3b öncesi | 3.18-4.module_el8.9.0+3643+9234dc3b |
| AlmaLinux:8 | crit | 3.15-3.module_el8.6.0+3137+d33c3efb öncesi | 3.15-3.module_el8.6.0+3137+d33c3efb |
| AlmaLinux:8 | crit | 3.15-3.module_el8.6.0+2877+8e437bf5 öncesi | 3.15-3.module_el8.6.0+2877+8e437bf5 |
| AlmaLinux:8 | criu | 3.15-3.module_el8.6.0+3137+d33c3efb öncesi | 3.15-3.module_el8.6.0+3137+d33c3efb |
| AlmaLinux:8 | criu | 3.18-4.module_el8.9.0+3643+9234dc3b öncesi | 3.18-4.module_el8.9.0+3643+9234dc3b |
| AlmaLinux:8 | criu | 3.15-3.module_el8.6.0+2877+8e437bf5 öncesi | 3.15-3.module_el8.6.0+2877+8e437bf5 |
| AlmaLinux:8 | criu-devel | 3.15-3.module_el8.6.0+2877+8e437bf5 öncesi | 3.15-3.module_el8.6.0+2877+8e437bf5 |
| AlmaLinux:8 | criu-devel | 3.18-4.module_el8.9.0+3643+9234dc3b öncesi | 3.18-4.module_el8.9.0+3643+9234dc3b |
+96
Aynı üründe
golang: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2018-7187The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used, does not validate the import path (get/vcs.go only 54Planlayın
- CVE-2018-16873In Go before 1.10.6 and 1.11.x before 1.11.3, the "go get" command is vulnerable to remote code execution when executed with the -u flag and52Planlayın
- CVE-2021-38297Go before 1.16.9 and 1.17.x before 1.17.2 has a Buffer Overflow via large arguments in a function invocation from a WASM module, when GOARCH42Planlayın
- CVE-2019-14809net/url in Go before 1.11.13 and 1.12.x before 1.12.8 mishandles malformed hosts in URLs, leading to an authorization bypass in some applica42Planlayın
- CVE-2015-5739The net/http library in net/textproto/reader.go in Go before 1.4.3 does not properly parse HTTP header keys, which allows remote attackers t42Planlayın
- CVE-2017-15041Go before 1.8.4 and 1.9.x before 1.9.1 allows "go get" remote command execution.42Planlayı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 |
|---|---|---|
| Go standard library mime/multipart | 1.19.6 | Üretici (CNA) |
| Go standard library mime/multipart | 1.20.1 | Üretici (CNA) |
| almalinux:delve | 1.9.1-1.module_el8.8.0+3471+a62632a0 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:go-toolset | 1.19.6-1.module_el8.8.0+3558+75c9cb88 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:golang | 1.19.6-1.module_el8.8.0+3558+75c9cb88 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:golang-bin | 1.19.6-1.module_el8.8.0+3558+75c9cb88 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:golang-docs | 1.19.6-1.module_el8.8.0+3558+75c9cb88 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:golang-misc | 1.19.6-1.module_el8.8.0+3558+75c9cb88 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:golang-race | 1.19.6-1.module_el8.8.0+3558+75c9cb88 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:golang-src | 1.19.6-1.module_el8.8.0+3558+75c9cb88 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:golang-tests | 1.19.6-1.module_el8.8.0+3558+75c9cb88 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:skopeo | 2:1.13.3-1.el9 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:toolbox | 0.0.99.4-6.el9_3 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:toolbox-tests | 0.0.99.4-6.el9_3 · AlmaLinux:9 | Paket deposu (OSV) |
| debian:golang-1.19 | 1.19.6-2 · Debian:12 | Paket deposu (OSV) |
| Go:stdlib | 1.19.6 | Paket deposu (OSV) |
| Go:stdlib | 1.20.1 | Paket deposu (OSV) |
| opensuse:go1.18 | 1.18.10-150000.1.46.1 · openSUSE:Leap 15.4 | Paket deposu (OSV) |
| opensuse:go1.19 | 1.19.7-150000.1.23.1 · openSUSE:Leap 15.4 | Paket deposu (OSV) |
| opensuse:go1.20 | 1.20.2-150000.1.5.1 · openSUSE:Leap 15.4 | Paket deposu (OSV) |
| red hat:buildah | 1:1.29.1-1.rhaos4.13.el9 · Red Hat:openshift:4.13::el9 | Paket deposu (OSV) |
| red hat:buildah-debuginfo | 1:1.29.1-1.rhaos4.13.el9 · Red Hat:openshift:4.13::el9 | Paket deposu (OSV) |
| red hat:buildah-debugsource | 1:1.29.1-1.rhaos4.13.el9 · Red Hat:openshift:4.13::el9 | Paket deposu (OSV) |
| red hat:buildah-tests | 1:1.29.1-1.rhaos4.13.el9 · Red Hat:openshift:4.13::el9 | Paket deposu (OSV) |
| red hat:buildah-tests-debuginfo | 1:1.29.1-1.rhaos4.13.el9 · Red Hat:openshift:4.13::el9 | Paket deposu (OSV) |
| red hat:golang | 0:1.19.6-2.el9_2 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:golang-bin | 0:1.19.6-2.el9_2 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:golang-docs | 0:1.19.6-2.el9_2 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:golang-misc | 0:1.19.6-2.el9_2 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:golang-race | 0:1.19.6-2.el9_2 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
+18
İ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.
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
- 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-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)
- 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
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
- go.dev/cl/468124
- go.dev/issue/58006
- groups.google.com/g/golang-announce/c/V0aBFqaFs_E
- pkg.go.dev/vuln/GO-2023-1569
- security.gentoo.org/glsa/202311-09
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.