A delete session for one object reveals the rest of a private container
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- go
- Lĩnh vực
- distributed-systems, security
Hướng nghiên cứu
Start by tracing how the node validates owner-signed session tokens for header and search requests, using the reproduction steps to compare those checks with payload downloads and deletes. The issue names no source files or tests, so locate the request handlers and authorization tests for these operations. Done means the token permits deleting only its named object and does not allow reading another object's header or listing container objects.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The owner granted permission to delete a single object. That same token lets the recipient list every object in the container and read the header of any of them. On a private container those reads are otherwise forbidden.
Expected Behavior
The token authorizes deletion of the one object it names. Header reads and searches of any other object are denied.
Current Behavior
With that token, a header request for a different object succeeds, and a search returns every object in the container. Downloading another object's payload is still denied. Deleting another object does not complete: the node answers that the session token was not found. The standard command-line client refuses to send a header or search request with a delete token, so this shows up only when a client attaches the token the owner signed and sends it unchanged.
Steps to Reproduce (for bugs)
- Create a private container and store two objects in it.
- As the owner, issue a session for another account. Limit it to the first object and to the delete operation, and sign it with the owner key.
- From the other account, without the token, request the header of the second object. The request is denied.
- Repeat that header request with the token attached as issued. The header is returned.
- Search the container with the same token. Both objects are listed.
- Ngôn ngữ chính
- Go
- Star
- 37
- Fork
- 56
- Merge trung bình
- 1 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 46
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của nspcc-dev/neofs-node
-
bug hal:proposed neofs-storage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
nspcc-dev/neofs-node#4325 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Check alpha scope in IRĐang mởhal:proposed I4 neofs-storage S3 security U4
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
nspcc-dev/neofs-node#4280 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
nspcc-dev/neofs-node#4339 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement I3 neofs-storage performance S3 U3
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
nspcc-dev/neofs-node#4337 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug neofs-storage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
nspcc-dev/neofs-node#4336 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của nspcc-dev/neofs-node
Issue tương tự
-
Missing Readme InstructionsĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
OpenSlides/openslides-go#342 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
-
docs: link to the CLA in InditexTech/foss instead of keeping a local CLA.mdCó thể đã có người làm @amagan đã nhận hôm nay. Đang mởdocumentation
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
InditexTech/redkey-operator#129 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Project submission: Landed MCPĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100