Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

deoxys+ocb3: plaintext exposed on tag decryption failure

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

@ECD5A đang làm issue này rồi.

Từ ngày 18/10/2026.

  • #889 của @ECD5A — đang mở

Đá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

  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 RustCrypto/AEADs

Tất cả issue của RustCrypto/AEADs

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.