← Retour à la recherche de CVE

CVE-2026-9537

Mojo::JWT

Description

Mojo::JWT versions before 1.02 for Perl verify HMAC signatures with a non-constant-time string comparison. The decode() method compares the supplied signature to the recomputed HMAC with Perl-s eq operator, which stops at the first differing byte, so the comparison time varies with the number of matching leading bytes. A caller that decodes attacker supplied tokens leaks the expected signature through this timing variation, which can be aggregated over many requests to recover the signature and forge a token.

CVSS 5.3EPSS 0.22799999999999998%Risque 0.54
Voir la source
Publication
2026-07-17 16:17:20
Versions concernées
<1.02
Type
Bibliothèque
Dernière modification
2026-07-20 20:16:47
Vecteur
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N