RUSTSEC-2026-0455: Large-window Brotli bodies bypass decompression memory limits

Đang mở
#3,683 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
52/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
security

Hướng nghiên cứu

Start by reading the advisory linked in the issue and checking how docs.rs presents security advisories for crate versions. Identify whether the affected actix-http version and upgrade guidance need to be reflected in docs.rs; the issue gives no specific file or test to start from. Done means the relevant documentation or advisory listing accurately communicates the affected versions and mitigation.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Large-window Brotli bodies bypass decompression memory limits

Details
Package actix-http
Version 3.20.0
URL https://github.com/actix/actix-web/commit/61c6a15c1c0e505a5cd6842610a5f1faea432a83
Date 2026-11-06
Patched versions >=3.20.3

With the compress-brotli feature enabled, the decoder accepts the non-standard
large-window Brotli format. A crafted stream can cause its internal buffer to
grow to about 1 GiB before the decoded output reaches the configured size limit.
An 850-byte request can cause this allocation, and concurrent requests can
exhaust process or host memory.

Actix Web enables Brotli support by default. Applications that read request
bodies through Bytes, String, Json, or Form can be affected even when
extractor size limits are configured. The allocation occurs before the handler
runs, so authentication performed in the handler does not prevent it.

Upgrade to actix-http 3.20.3 or later. As a workaround, reject requests with
Content-Encoding: br at a reverse proxy or in middleware before body
extraction, or disable the compress-brotli feature throughout the dependency
graph.

See advisory page for additional details.

Ngôn ngữ chính
Rust
Star
1.2k
Fork
235
Merge trung bình
11 giờ 56 phút
Pull request đã merge (30 ngày)
78

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của rust-lang/docs.rs

Tất cả issue của rust-lang/docs.rs

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.