Advisory

GO-2020-0023

Also known as: CVE-2015-10004, GHSA-5vw4-v588-pgv8

Summary

Timing side-channel in github.com/robbert229/jwt

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

Not rated by the source.

Dates

Published
2021-04-14 20:04 UTC
Modified
2024-05-20 16:03 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: Go Vulnerability Database · CC BY 4.0

Sources & licences