GitHub Advisoryadvisory · Go

GHSA-5vw4-v588-pgv8 robbert229/jwt's token validation methods vulnerable to a timing side-channel during HMAC comparison

HIGH Published 2022-12-28 Modified 2024-05-20 Official page ↗
Aliases
CVE-2015-10004
Ecosystem
Go
Packages
github.com/robbert229/jwt
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-668
Reviewed
2022-12-30

Affected packages

• Go github.com/robbert229/jwt: < 0.0.0-20170426191122-ca1404ee6e83 → fixed in 0.0.0-20170426191122-ca1404ee6e83

Description

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.

Related

Alias · CVE (1)

  • CVE-2015-10004 Token validation methods are susceptible to a timing side-channel during HMAC comparison. vulnerability

Weakness · CWE (1)

  • CWE-668 Exposure of Resource to Wrong Sphere weakness

References