CVE-2018-25445

Source
https://cve.org/CVERecord?id=CVE-2018-25445
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-25445.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-25445
Downstream
Published
2026-11-25T23:17:19Z
Modified
2026-11-26T23:00:46Z
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/dcit/perl-crypt-jwt

Affected ranges

Type
GIT
Repo
https://github.com/dcit/perl-crypt-jwt
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "0.024"
                }
            ],
            "source":  "DESCRIPTION"
        },
        {
            "range":  [
                {
                    "fixed":  "b0578979b012fd5ce57be2038a3cda1b3e65ae97"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

v0.*
v0.012
v0.013
v0.014
v0.015
v0.016
v0.017
v0.018
v0.019
v0.020
v0.021
v0.022
v0.023

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-25445.json"