{"id":"CVE-2020-35918","aliases":["CVE-2020-35918","GHSA-c9rv-3jmq-527w","RUSTSEC-2020-0075"],"related":[],"kind":"vulnerability","state":"published","title":"Unexpected panic when decoding tokens in branca","summary":"An issue was discovered in the branca crate before 0.10.0 for Rust. Decoding tokens (with invalid base62 data) can panic.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the branca crate before 0.10.0 for Rust. Decoding tokens (with invalid base62 data) can panic.","source":"cvelist"},{"lang":"en","text":"Prior to 0.10.0 it was possible to have both decoding functions panic unexpectedly, by supplying tokens with an incorrect base62 encoding.\nThe documentation stated that an error should have been reported instead.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Prior to `0.10.0` it was possible to have both decoding functions panic unexpectedly,\nby supplying tokens with an incorrect base62 encoding.\n\nThe documentation stated that an error should have been reported instead.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se detectó un problema en la crate branca versiones anteriores a 0.10.0 para Rust.&#xa0;Unos tokens de decodificación (con datos base62 no válidos) pueden generar pánico.","source":"nvd"}],"published":"2020-11-29T12:00:00.000Z","modified":"2026-06-17T03:14:36.237Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:N/I:N/A:C","score":4.9,"rating":"MEDIUM"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.10.0"}],"ecosystem":"crates.io","package":"branca","purl":"pkg:cargo/branca","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.10.0"}],"ecosystem":"crates.io","package":"branca","purl":"pkg:cargo/branca","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"0.10.0"}],"vendor":"hakobaito","product":"branca","cpe":"cpe:2.3:a:hakobaito:branca:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0075.html","tags":["advisory","exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://github.com/tuupola/branca-spec/issues/22","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/return/branca/issues/24","tags":["exploit","issue-tracking","patch","report","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35918","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/return/branca/commit/7da3274bd99b05dce9c3f9b4b129d0145c71820b","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/return/branca","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/branca","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-35918","url":"https://www.cve.org/CVERecord?id=CVE-2020-35918","licence":"CVE Terms of Use","modified":"2024-08-04T17:16:13.176Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c9rv-3jmq-527w","url":"https://github.com/advisories/GHSA-c9rv-3jmq-527w","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:39.346Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0075","url":"https://rustsec.org/advisories/RUSTSEC-2020-0075.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:39.346Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-35918","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35918","licence":"Public domain","modified":"2026-06-17T03:14:36.237Z"}],"updatedAt":"2026-11-25T22:57:56.654Z","epss":{"score":0.00471,"percentile":0.42366,"date":"2026-12-02T12:00:21.000Z"}}