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.
Related Weaknesses (CWE)
References
- https://github.com/DCIT/perl-Crypt-JWT/commit/b0578979b012fd5ce57be2038a3cda1b3e
- https://metacpan.org/release/MIK/Crypt-JWT-0.024/changes
FAQ
What is CVE-2018-25445?
CVE-2018-25445 is a documented vulnerability. 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...
How severe is CVE-2018-25445?
CVSS scoring is not yet available for CVE-2018-25445. Check NVD for updates.
Is there a patch for CVE-2018-25445?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.