Drop the RUSTSEC-2026-0387 audit ignore once embedded-tls moves off elliptic-curve 0.13

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

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

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

調査の方向性

Read .cargo/audit.toml and the aimdb-mqtt-connector dependency configuration, then check whether upstream has released an embedded-tls version using embassy-crypto. If available, bump the dependency, adapt to its API if needed, remove RUSTSEC-2026-0387 from the audit ignores, and check whether RUSTSEC-2023-0071 can also be removed. Confirm with cargo audit and the embedded mqtts:// feature checks.

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

説明

dependencies

.cargo/audit.toml ignores RUSTSEC-2026-0387 (crypto-bigint: timing variability in operations meant to be constant-time), added in #339 so cargo audit stops blocking every PR.

Why it can't be fixed yet

  • crypto-bigint 0.5.5 comes from embedded-tls 0.19.0 → p256/p384 0.13 → elliptic-curve 0.13.
  • Only crypto-bigint 0.7.6 and later are fixed, and getting there needs elliptic-curve 0.14.
  • embedded-tls 0.19.0 is the latest release. Upstream (now embassy-rs/embedded-tls) has moved its main branch to embassy-crypto, but that isn't released.

Exposure

Unlike the other ignores, this one is reachable. embedded-tls does its ECDHE key exchange with a secret ephemeral P-256 key, and signs with a client key when one is configured. It only affects aimdb-mqtt-connector's embedded-tls feature (embedded mqtts://, off by default), and an attacker has to be able to measure the device's timing.

To do when upstream releases

  • Bump embedded-tls in aimdb-mqtt-connector (adapt to the embassy-crypto API if needed).
  • Remove RUSTSEC-2026-0387 from .cargo/audit.toml.
  • Check whether RUSTSEC-2023-0071 (rsa, also via embedded-tls) can go too.

🤖 Generated with Claude Code

主要言語
Rust
スター
101
フォーク
20
平均マージ
2時間 33分
マージ済み PR(30日)
90

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

aimdb-dev/aimdb のほかの issue

aimdb-dev/aimdb の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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