CPANSA-Crypt-JWT-2018-25445: Crypt-JWT vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-11-25T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-11-25T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | Severity | ||
| Original language | Language | en | |
| Also referred to | |||
Vulnerability 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.
Vulnerabilities
CVE-2018-25445
Vulnerability 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.
| Weakness | CWE-636 : Not Failing Securely ('Failing Open') |
|---|
Product status
Known affected
| Product | Score | ||||
|---|---|---|---|---|---|
| Crypt-JWT less than 0.024 |
|
Fixed
- Crypt-JWT greater than or equal 0.024
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-Crypt-JWT-2018-25445 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-crypt-jwt-2018-25445.json - https://github.com/DCIT/perl-Crypt-JWT/commit/b0578979b012fd5ce57be2038a3cda1b3e65ae97.patch external
https://github.com/DCIT/perl-Crypt-JWT/commit/b0578979b012fd5ce57be2038a3cda1b3e65ae97.patch - https://metacpan.org/release/MIK/Crypt-JWT-0.024/changes external
https://metacpan.org/release/MIK/Crypt-JWT-0.024/changes - CVE-2018-25445 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2018-25445
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Wed Nov 25 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/