jwcrypto is vulnerable to Improper Verification of Cryptographic Signature
31
CVE Score
Low
Improper Verification of Cryptographic Signature
jwcrypto verifies a JSON Web Signature against a JWKSet by looking up the signer's key using the kid header parameter. When a JWS carries multiple signatures, the verification path reads kid from the overall jose_header instead of each signature's own checked headers, so a signature that declares kid only in an unprotected header, or a non-first signature in a multi-signature JWS, can resolve against the wrong key from the set. This key-confusion is limited to specific and uncommon multi-signature or unprotected-header kid usage with a JWKSet. The fix reads kid from each signature's own checked headers before performing the key lookup.
Upgrade the jwcrypto library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you verify multi-signature JWS objects, or JWS signatures using an unprotected-header kid value, against a JWKSet.
1.3 - 1.5.9
Fixed in 1.6.0jwcrypto is vulnerable to Improper Verification of Cryptographic Signature in versions 1.3 - 1.5.9.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.