Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

deoxys+ocb3: plaintext exposed on tag decryption failure

オープン
#888 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

@ECD5A がすでに取り組んでいます。

2026年10月18日 から。

  • #889 @ECD5A による — オープン

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Rust
スター
967
フォーク
200
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

RustCrypto/AEADs のほかの issue

RustCrypto/AEADs の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。