Skip to content
Fencer Vulns
medium 5.5

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

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

Sources

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.