mittel6.5
CVE-2017-1000168
scalarmult() vulnerable to degenerate public keys
Auswirkung
The scalarmult() function included in previous versions of this crate accepted all-zero public keys, for which the resulting Diffie-Hellman shared secret will always be zero regardless of the private key used. This issue was fixed by checking for this class of keys and rejecting them if they are used.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| rust | sodiumoxide | < 0.0.14 | 0.0.14 |
Betroffene Produkte · Sodiumoxide Project
| Produkt | Betroffene Versionen |
|---|---|
| Sodiumoxide | bis einschließlich 0.0.13 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/dnaq/sodiumoxide/issues/154
- https://github.com/advisories/GHSA-2wc6-2rcj-8v76
- https://nvd.nist.gov/vuln/detail/CVE-2017-1000168
- https://github.com/sodiumoxide/sodiumoxide/commit/24c7a5550807ac8a09648b5878f19d14c3a69135
- https://rustsec.org/advisories/RUSTSEC-2017-0001.html