VDB
Sign up
MEDIUM5.5

GHSA-c9rv-3jmq-527w

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

crates.io/branca
Introduced in: 0Fixed in: 0.10.0

Upgrade branca to 0.10.0 or newer (ecosystem crates.io).

References