CVE-2018-25445

NameCVE-2018-25445
DescriptionCrypt::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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libcrypt-jwt-perl (PTS)bookworm0.034-1fixed
trixie0.037-1fixed
forky, sid0.038-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libcrypt-jwt-perlsource(unstable)0.024-1

Notes

https://lists.security.metacpan.org/cve-announce/msg/45442756/
Fixed by: https://github.com/DCIT/perl-Crypt-JWT/commit/b0578979b012fd5ce57be2038a3cda1b3e65ae97 (v0.024)

Search for package or bug name: Reporting problems