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

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

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đá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
43/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ệ
embedded-iot, rust
Lĩnh vực
embedded-iot, security

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Rust
Star
101
Fork
20
Merge trung bình
2 giờ 33 phút
Pull request đã merge (30 ngày)
90

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

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 aimdb-dev/aimdb

Tất cả issue của aimdb-dev/aimdb

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.