RUSTSEC-2026-0447: Compressed request bodies can exhaust memory before extractor limits apply

Aperta
#3,684 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
backend, security

Direzione di ricerca

The issue describes a vulnerability in actix-web’s compressed request body handling and recommends upgrading actix-web and actix-http; it does not identify any docs.rs files or tests to change. Start by checking whether docs.rs is affected and locate the relevant request body handling or dependency configuration. Done means the reported risk is addressed or confirmed out of scope, with an appropriate test or dependency update.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Compressed request bodies can exhaust memory before extractor limits apply

Details
Package actix-web
Version 4.18.1
URL https://github.com/actix/actix-web/commit/0d0be61bd757027bfcecbc53df1b7a600f21ecd0
Date 2026-11-06
Patched versions >=4.18.2

Body extractors do not pass their size limits to the decompression layer.
A small compressed request can therefore cause a large allocation before the
extractor rejects the decoded body. A remote attacker can use this to exhaust
memory or CPU resources and cause denial of service.

This affects applications that read compressed request bodies with the
corresponding compression feature enabled.

Upgrade to actix-web 4.18.2 or later with actix-http 3.20.1 or later.
As a workaround, reject compressed request bodies at a reverse proxy or in
middleware before body extraction.

See advisory page for additional details.

Lingua principale
Rust
Stelle
1.2k
Fork
235
Merge medio
11h 56m
PR unite (30g)
78

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di rust-lang/docs.rs

Tutte le issue di rust-lang/docs.rs

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.