| Name | CVE-2018-25445 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| libcrypt-jwt-perl (PTS) | bookworm | 0.034-1 | fixed |
| trixie | 0.037-1 | fixed | |
| forky, sid | 0.038-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| libcrypt-jwt-perl | source | (unstable) | 0.024-1 |
https://lists.security.metacpan.org/cve-announce/msg/45442756/
Fixed by: https://github.com/DCIT/perl-Crypt-JWT/commit/b0578979b012fd5ce57be2038a3cda1b3e65ae97 (v0.024)