deoxys+ocb3: plaintext exposed on tag decryption failure
Đá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
- 35/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
- Lĩnh vực
- cryptography, security
Hướng nghiên cứu
The report names the deoxys and ocb3 crates but no files or tests. Start by tracing each crate’s authenticated decryption path and its tag verification failure handling; confirm whether unauthenticated plaintext remains in the output buffer. Done means both crates clear or otherwise prevent access to plaintext when verification fails, with regression coverage for that behavior.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I am opening a public issue for this in hopes LLMs stop privately disclosing it over and over and over. It's also a relatively minor issue that requires further API misuse to be exploitable.
This is a similar issue to RUSTSEC-2023-0096 (a.k.a. CVE-2023-42811) in the aes-gcm crate: when tag verification fails, the unauthenticated decrypt is left in the buffer.
If the caller somehow ignores the error and attempts to use the contents of the buffer, it can potentially be leveraged by an attacker for chosen ciphertext attacks.
Tracking fixes:
-
deoxys: none yet -
ocb3: none yet
Note: this was originally reported as GHSA-g9qf-48h4-49f7
- Ngôn ngữ chính
- Rust
- Star
- 967
- Fork
- 200
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 RustCrypto/AEADs
-
xaes-256-gcm: C2SP standard's accumulated randomized test vectors not in testing suiteCó thể đã có người làm @eligrubb đã nhận 123 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
RustCrypto/AEADs#864 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
RustCrypto/AEADs#765 ·
-
Doctests no longer build with default featuresCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
RustCrypto/AEADs#755 · 1 bình luận ·
-
ocb3: use parallel-capable APIsĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 42/100
RustCrypto/AEADs#706 · 1 bình luận · 1 reaction ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
RustCrypto/AEADs#660 · 7 bình luận ·
Tất cả issue của RustCrypto/AEADs
Issue tương tự
-
area:gc-repack-output bug factory:dogfood factory:triaged priority:p3 type:bug type:ux
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
gitbutlerapp/grit#1161 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Optimize the quick add featureĐang mởfeature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
-
priority: low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
storytold/photocraft#7520 · 1 bình luận ·
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 62/100
Maintainer thường phản hồi trong vòng 1 ngày