Vulnerabilities in pkg:golang/github.com/robbert229/jwt
PACKAGECVE-2015-10004 is a HIGH (CVSS 7.5) robbert229/jwt's token validation methods vulnerable vulnerability (CWE-668: Exposure of Resource to Wrong Sphere) affecting Github.com/robbert229/jwt libraries in the Go ecosystem. The issue involves robbert229/jwt's token validation methods vulnerable to a timing side-channel during hmac comparison. Remediation is available by upgrading affected packages to version 0.0.0-20170426191122-ca1404ee6e83.
pkg:golang/github.com/robbert229/jwt
Vulnerability advisories affecting package pkg:golang/github.com/robbert229/jwt. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-5vw4-v588-pgv8 | CVE-2015-10004 | HIGH | robbert229/jwt's token validation methods vulnerable to a timing side-channel during HMAC comparison |
CVE-2015-10004 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2015-10004
To remediate this vulnerability, upgrade all affected Github.com/robbert229/jwt dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/robbert229/jwt to 0.0.0-20170426191122-ca1404ee6e83
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/robbert229/jwt
How to Check if You Are Affected
To determine whether your application is affected by CVE-2015-10004, inspect your project dependencies for Github.com/robbert229/jwt:
inspect dependencies for github.com/robbert229/jwt
Analyze the terminal output to locate any version of Github.com/robbert229/jwt in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20170426191122-ca1404ee6e83), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-668: Exposure of Resource to Wrong Sphere, where the product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource. In Github.com/robbert229/jwt, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2015-10004 Affected Github.com/robbert229/jwt Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/robbert229/jwt
|
Go |
< 0.0.0-20170426191122-ca1404ee6e83
|
0.0.0-20170426191122-ca1404ee6e83
|
References
Frequently Asked Questions
What is CVE-2015-10004?
Which Github.com/robbert229/jwt versions are affected?
What version fixes CVE-2015-10004?
Is github.com/robbert229/jwt affected?
What is the CVSS score of CVE-2015-10004?
What CWE is associated with CVE-2015-10004?
How can I check Go dependencies for CVE-2015-10004?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5vw4-v588-pgv8",
"modified" : "2024-05-20T19:41:55Z",
"published" : "2022-12-28T00:30:23Z",
"aliases" : [ "CVE-2015-10004" ],
"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" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/robbert229/jwt"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.0-20170426191122-ca1404ee6e83"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-10004"
}, {
"type" : "WEB",
"url" : "https://github.com/robbert229/jwt/issues/12"
}, {
"type" : "WEB",
"url" : "https://github.com/robbert229/jwt/commit/ca1404ee6e83fcbafb66b09ed0d543850a15b654"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/robbert229/jwt"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2020-0023"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-668" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-12-30T19:33:01Z",
"nvd_published_at" : "2022-12-27T22:15:00Z"
}
}