Lucene search

K
githubGitHub Advisory DatabaseGHSA-HXHC-WMG8-XRQF
HistoryMay 17, 2024 - 10:31 p.m.

namshi/jose insecure JSON Web Signatures (JWS)

2024-05-1722:31:42
GitHub Advisory Database
github.com
11
namshi/jose
json web signatures
acceptance vulnerability
security risk
jwt token
software

AI Score

7

Confidence

High

namshi/jose allows the acceptance of unsecure JSON Web Signatures (JWS) by default. The vulnerability arises from the $allowUnsecure flag, which, when set to true during the loading of JWSes, permits tokens signed with ‘none’ algorithms to be processed. This behavior poses a significant security risk as it could allow an attacker to impersonate users by crafting a valid jwt token.

Affected configurations

Vulners
Node
namshinamshi\/joseRange2.1.02.1.2
OR
namshinamshi\/joseRange2.0.02.0.3
OR
namshinamshi\/joseRange1.2.01.2.2
OR
namshinamshi\/joseRange<1.1.2
VendorProductVersionCPE
namshinamshi\/jose*cpe:2.3:a:namshi:namshi\/jose:*:*:*:*:*:*:*:*

AI Score

7

Confidence

High