GHSA-VGRX-W6RG-8FQF
Vulnerability from github – Published: 2018-11-06 23:12 – Updated: 2020-08-31 18:10
VLAI?
Summary
Forgeable Public/Private Tokens in jwt-simple
Details
Affected versions of the jwt-simple package allow users to select what algorithm the server will use to verify a provided JWT. A malicious actor can use this behaviour to arbitrarily modify the contents of a JWT while still passing verification. For the common use case of the JWT, the end result is a complete authentication bypass with minimal effort.
Recommendation
Update to version 0.3.1 or later.
Additionally, be sure to always specify an algorithm in calls to .decode().
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "jwt-simple"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.3.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2016-10555"
],
"database_specific": {
"cwe_ids": [
"CWE-20"
],
"github_reviewed": true,
"github_reviewed_at": "2020-06-16T21:57:45Z",
"nvd_published_at": null,
"severity": "CRITICAL"
},
"details": "Affected versions of the `jwt-simple` package allow users to select what algorithm the server will use to verify a provided JWT. A malicious actor can use this behaviour to arbitrarily modify the contents of a JWT while still passing verification. For the common use case of the JWT, the end result is a complete authentication bypass with minimal effort.\n\n\n\n## Recommendation\n\nUpdate to version 0.3.1 or later.\n\nAdditionally, be sure to always specify an algorithm in calls to `.decode()`.",
"id": "GHSA-vgrx-w6rg-8fqf",
"modified": "2020-08-31T18:10:20Z",
"published": "2018-11-06T23:12:07Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10555"
},
{
"type": "WEB",
"url": "https://github.com/hokaccha/node-jwt-simple/pull/14"
},
{
"type": "WEB",
"url": "https://github.com/hokaccha/node-jwt-simple/pull/16"
},
{
"type": "WEB",
"url": "https://github.com/hokaccha/node-jwt-simple/commit/957957cfa44474049b4603b293569588ee9ffd97"
},
{
"type": "WEB",
"url": "https://auth0.com/blog/2015/03/31/critical-vulnerabilities-in-json-web-token-libraries"
},
{
"type": "WEB",
"url": "https://www.npmjs.com/advisories/87"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "Forgeable Public/Private Tokens in jwt-simple"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…