Error contexts have no limit on their debug message size

Đang mở
#14,669 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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
57/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust, wasm
Lĩnh vực
backend, security

Hướng nghiên cứu

Start by locating the guest-constructible error-context code and how it stores or formats debug messages; the issue does not name a file or test. Trace where message sizes are accepted, then check for nearby tests covering error contexts. Done means guest-provided debug messages have a size limit that prevents unbounded growth, with coverage for the limit.

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

Mô tả

bug wasm-proposal:component-model-error-context

Right now there's no limit to the size of debug messages within an error-context which is guest-constructible, so this is a pretty trivial way for a guest to DoS a host.

Ngôn ngữ chính
Rust
Star
18.9k
Fork
2k
Merge trung bình
1 ngày 6 giờ
Pull request đã merge (30 ngày)
238

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

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 bytecodealliance/wasmtime

Tất cả issue của bytecodealliance/wasmtime

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.