mittel5.5
CVE-2020-35918
Unexpected panic when decoding tokens in branca
Auswirkung
Prior to 0.10.0 it was possible to have both decoding functions panic unexpectedly, by supplying tokens with an incorrect base62 encoding. The documentation stated that an error should have been reported instead.
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| rust | branca | < 0.10.0 | 0.10.0 |
Betroffene Produkte · Hakobaito
| Produkt | Betroffene Versionen |
|---|---|
| Branca | vor 0.10.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/return/branca/issues/24
- https://github.com/tuupola/branca-spec/issues/22
- https://rustsec.org/advisories/RUSTSEC-2020-0075.html
- https://github.com/advisories/GHSA-c9rv-3jmq-527w
- https://nvd.nist.gov/vuln/detail/CVE-2020-35918
- https://github.com/return/branca/commit/7da3274bd99b05dce9c3f9b4b129d0145c71820b