In jsonwebtoken node module before 4.2.2 it is possible for an attacker to bypass verification when a token digitally signed with an asymmetric key (RS/ES family) of algorithms but instead the attacker send a token digit…
CVSS 3.0CRITICAL 9.8·Network·No auth·No interaction·EPSS 0.08367·Published 2018-05-29·Fixed in 4.2.2CWE-20
In versions `<=8.5.1` of `jsonwebtoken` library, lack of algorithm definition in the `jwt.verify()` function can lead to signature validation bypass due to defaulting to the `none` algorithm for signature verification.