Advisory

GHSA-c9rv-3jmq-527w

Also known as: CVE-2020-35918, RUSTSEC-2020-0075

Summary

Unexpected panic when decoding tokens in branca

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: The source's own band: MODERATE

Dates

Published
2021-08-25 20:49 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

branca

crates.io · All systems

Affected

  • introduced 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences