CVE-2020-35918 json
Unexpected panic when decoding tokens in branca
published 2020-11-29 5 y ago modified 2026-06-17 4 mo ago also GHSA-c9rv-3jmq-527w , RUSTSEC-2020-0075 , EUVD-2021-1678
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 41%
- public exploits
- 0
- none known
Summary
An issue was discovered in the branca crate before 0.10.0 for Rust. Decoding tokens (with invalid base62 data) can panic.
Patch / fix
- crates.io branca 0.10.0
- hakobaito branca 0.10.0
- github.com/return/branca@7da3274 commit
- github.com/return/branca/issues/24 advisory
Exploit prediction
0.47% chance of exploitation in the next 30 days, higher than 41% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/return/branca/issues/24 referenced PoC, tagged "exploit" by a source, unverified
- rustsec.org https://rustsec.org/advisories/RUSTSEC-2020-0075.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.9 | AV:L/AC:L/Au:N/C:N/I:N/A:C |
| OSV | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | branca | <0.10.0 >=0.0.0-0, <0.10.0 |
0.10.0 |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/return/branca/issues/24
web, exploit, issue-tracking, patch, third-party-advisory, report
-
github.com
/return/branca/commit/7da3274bd99b05dce9c3f9b4b129d0145c71820b
web
-
rustsec.org
/advisories/RUSTSEC-2020-0075.html
web, exploit, third-party-advisory, advisory
-
github.com
/tuupola/branca-spec/issues/22
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2020-35918
advisory
-
github.com
/return/branca
package
-
crates.io
/crates/branca
package
Sources
- CVE List CVE-2020-35918
- GitHub Advisory GHSA-c9rv-3jmq-527w
- NVD CVE-2020-35918
- OSV RUSTSEC-2020-0075
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.