GitHub Advisory Database
GHSA-c9rv-3jmq-527w
Unexpected panic when decoding tokens in branca
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| crates.io | branca | All versions before 0.10.0 (fixed in 0.10.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-35918
- https://github.com/return/branca/issues/24
- https://github.com/tuupola/branca-spec/issues/22
- https://github.com/return/branca/commit/7da3274bd99b05dce9c3f9b4b129d0145c71820b
- https://github.com/return/branca
- https://rustsec.org/advisories/RUSTSEC-2020-0075.html