ghsa-vgrx-w6rg-8fqf
Vulnerability from github
Published
2018-11-06 23:12
Modified
2020-08-31 18:10
VLAI Severity ?
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 seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…