QID 983173
QID 983173: Nodejs (npm) Security Update for jwt-simple (GHSA-vgrx-w6rg-8fqf)
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()`.
Successful exploitation of this vulnerability may affect the confidentiality, integrity, and availability of the targeted user.
Solution
Customers are advised to refer to GHSA-vgrx-w6rg-8fqf for updates pertaining to this vulnerability.
Vendor References
- GHSA-vgrx-w6rg-8fqf -
github.com/advisories/GHSA-vgrx-w6rg-8fqf
CVEs related to QID 983173
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-vgrx-w6rg-8fqf | jwt-simple |
|