NetSight
mittel5.3

CVE-2026-21895

rsa crate has potential panic on a prime being equal to 1

Auswirkung

When creating a RSA private key from its components, the construction panics, instead of returning an error, when one of the primes is `1`. Discovered by Christian Reitter from [Radically Open Security](https://www.radicallyopensecurity.com/) during a security review for [Proton AG](https://proton.me/).

Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: geringes Risiko für Ausfälle.

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
rustrsa<= 0.9.90.9.10

Betroffene Produkte · Rustcrypto

ProduktBetroffene Versionen
Rsa
vor 0.9.10

Schwachstellenklasse

Referenzen