Advisory

GHSA-5vw4-v588-pgv8

Also known as: CVE-2015-10004, GO-2020-0023

Summary

robbert229/jwt's token validation methods vulnerable to a timing side-channel during HMAC comparison

Details

Token validation methods are susceptible to a timing side-channel during HMAC comparison. With a large enough number of requests over a low latency connection, an attacker may use this to determine the expected HMAC.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-12-28 00:30 UTC
Modified
2024-05-20 19:41 UTC

Affected packages and fixes

github.com/robbert229/jwt

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20170426191122-ca1404ee6e83 (semver)

Fixed versions

0.0.0-20170426191122-ca1404ee6e83

Fix

  • Fixed version 0.0.0-20170426191122-ca1404ee6e83
    go get github.com/robbert229/[email protected]

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