Advisory

RUSTSEC-2020-0075

Also known as: CVE-2020-35918, GHSA-c9rv-3jmq-527w

Summary

Unexpected panic when decoding tokens

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.

Severity

Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2020-11-29 12:00 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

branca

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.10.0 (semver)

Fixed versions

0.10.0

Fix

  • Fixed version 0.10.0
    cargo update -p branca --precise 0.10.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences