GHSA-gjcw-v447-2w7q

Suggest an improvement
Source
https://github.com/advisories/GHSA-gjcw-v447-2w7q
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-gjcw-v447-2w7q/GHSA-gjcw-v447-2w7q.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-gjcw-v447-2w7q
Aliases
  • CVE-2016-1000223
Published
2020-09-01T15:23:18Z
Modified
2023-11-08T03:58:07.352660Z
Severity
  • 8.7 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N CVSS Calculator
Summary
Forgeable Public/Private Tokens in jws
Details

Affected versions of the jws 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 as a bearer token, the end result is a complete authentication bypass with minimal effort.

Recommendation

Update to version 3.0.0 or later.

Database specific
{
    "github_reviewed_at": "2020-08-31T18:10:22Z",
    "nvd_published_at": null,
    "cwe_ids": [],
    "severity": "HIGH",
    "github_reviewed": true
}
References

Affected packages

npm / jws

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-gjcw-v447-2w7q/GHSA-gjcw-v447-2w7q.json"