CVE-2020-35918
MEDIUM 5.5CVSS 3.1Unexpected panic when decoding tokens in branca
An issue was discovered in the branca crate before 0.10.0 for Rust. Decoding tokens (with invalid base62 data) can panic.
- Published
- 31 Dec 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-c9rv-3jmq-527wRUSTSEC-2020-0075
- Sources
- NVDJSONOSV GHSA-c9rv-3jmq-527wJSONOSV RUSTSEC-2020-0075JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.9 | AV:L/AC:L/Au:N/C:N/I:N/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hakobaito | brancacpe:2.3:a:hakobaito:branca:*:*:*:*:*:rust:*:* |
< 0.10.0 | 0.10.0 |
| OSV | crates.io | branca | < 0.10.0 | 0.10.0 |
| OSV | crates.io | branca | >= 0.0.0-0, < 0.10.0 | 0.10.0 |
References
- https://github.com/return/branca/issues/24 · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB, REPORT
- https://github.com/tuupola/branca-spec/issues/22 · Third Party Advisory, WEB
- https://rustsec.org/advisories/RUSTSEC-2020-0075.html · Exploit, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-35918 · ADVISORY
- https://github.com/return/branca/commit/7da3274bd99b05dce9c3f9b4b129d0145c71820b · WEB
- https://github.com/return/branca · PACKAGE
- https://crates.io/crates/branca · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 31 Dec 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 29 Nov 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)