Lucene search

K
veracodeVeracode Vulnerability DatabaseVERACODE:38569
HistoryDec 23, 2022 - 5:35 a.m.

Improper Input Validation

2022-12-2305:35:31
Veracode Vulnerability Database
sca.analysiscenter.veracode.com
63

jsonwebtoken is vulnerable to improper input validation. A remote attacker is able to write arbitrary files on the host machine via the secretOrPublicKey argument from the readme link of the jwt.verify() function due to improper input validation. The vulnerability is only possible if untrusted entities are allowed to modify the key retrieval parameter of the jwt.verify() on a host that you control.