VYPR
Unrated severityNVD Advisory· Published Jul 25, 2019· Updated Aug 5, 2024

CVE-2019-1010161

CVE-2019-1010161

Description

perl-CRYPT-JWT 0.022 and earlier is affected by: Incorrect Access Control. The impact is: bypass authentication. The component is: JWT.pm for JWT security token, line 614 in _decode_jws(). The attack vector is: network connectivity(crafting user-controlled input to bypass authentication). The fixed version is: 0.023.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

perl-Crypt-JWT before 0.023 bypasses authentication due to insecure JWT signature verification.

Vulnerability

perl-Crypt-JWT versions 0.022 and earlier contain an authentication bypass flaw in the JWT.pm module, specifically in the _decode_jws() function at line 614. The bug is triggered when the decoder does not enforce the presence of a key or verifies the JWT signature incorrectly, allowing an attacker to craft a token that is accepted as valid. The issue was initially reported in reference [1] and affects all versions up to and including 0.022.

Exploitation

An attacker with network connectivity can craft a malicious JWT token that manipulates the header or payload, for example by omitting the expected key or providing a forged RSA public key or symmetric secret. The flawed verification logic in _decode_jws() accepts this crafted token without proper cryptographic validation. No prior authentication or special privileges are needed beyond the ability to send the crafted token to a service using the vulnerable library.

Impact

Successful exploitation bypasses authentication entirely. The attacker can impersonate any user or claim arbitrary access, leading to unauthorized access to resources or actions that would otherwise require authentication. The integrity and authenticity of the token are compromised, making the impact high for any application relying on perl-Crypt-JWT for security.

Mitigation

Upgrade to version 0.023 or later, which fixes the signature verification logic. The official repository and CPAN distribution carry the patched release. No workaround is available for earlier versions, as the flaw is inherent in the decode method. The vendor confirmed the fix in the GitHub issue [1] and in the release notes.

AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

2
  • Range: <=0.022
  • perl-CRYPT-JWT/perl-CRYPT-JWTv5
    Range: 0.022 and earlier [fixed: 0.023]

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

1

News mentions

0

No linked articles in our index yet.