Skip to content

CVE-2018-25445 Crypt::JWT versions before 0.024 for Perl skip issuer, subject, audience and JWT ID checks when the claim is absent or the option is a plain string

Unknown EPSS 0.36%
Published
Updated
Exploit status
No public exploit known
Technology
Debian

Description

Crypt::JWT versions before 0.024 for Perl skip issuer, subject, audience and JWT ID checks when the claim is absent or the option is a plain string.

decode_jwt runs the verify_iss, verify_sub, verify_aud and verify_jti checks only when the token carries the claim, and honours an option only as a Regexp or CODE reference. Any other value, such as verify_aud => 'myapp', is ignored.

An application that relies on these checks accepts a validly signed token meant for a different issuer, subject or audience.

Upgrade path

4 packages: 4 fixed.

PackageAffectedFixed inStatus
cpan Crypt-JWT < 0.024 0.024 Fixed
debian/libcrypt-jwt-perl(Debian 12) < 0.024-1 0.024-1 Fixed
debian/libcrypt-jwt-perl(Debian 13) < 0.024-1 0.024-1 Fixed
debian/libcrypt-jwt-perl(Debian 14) < 0.024-1 0.024-1 Fixed

Affected products

ProductAffected versionsFixed in
cpan Crypt-JWT < 0.024 0.024
debian/libcrypt-jwt-perl(Debian:12) < 0.024-1 0.024-1
debian/libcrypt-jwt-perl(Debian:14) < 0.024-1 0.024-1
debian/libcrypt-jwt-perl(Debian:13) < 0.024-1 0.024-1

References