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

Abierto
#340 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
43/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
embedded-iot, rust

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Rust
Estrellas
101
Forks
20
Merge medio
2 h 33 min
PR fusionados (30 d)
90

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de aimdb-dev/aimdb

Todos los issues de aimdb-dev/aimdb

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.