deoxys+ocb3: plaintext exposed on tag decryption failure
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- rust
- 領域
- cryptography, security
調査の方向性
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 を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
RustCrypto/AEADs のほかの issue
-
xaes-256-gcm: C2SP standard's accumulated randomized test vectors not in testing suite対応中かも @eligrubb が 123 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
RustCrypto/AEADs#864 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
RustCrypto/AEADs#765 ·
-
Doctests no longer build with default features再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
RustCrypto/AEADs#755 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
RustCrypto/AEADs#706 · コメント 1 件 · リアクション 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
RustCrypto/AEADs#660 · コメント 7 件 ·
RustCrypto/AEADs の issue をすべて見る
似ている issue
-
area:config area:security bug good first issue platform:linux platform:windows priority:medium
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
documentation P2
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
vllm-project/agentic-api#463 ·
メンテナーはふだん 2 日以内に返信
-
bug good first issue priority:high
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
Konfirm-xyz/konfirm-contracts#163 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信