PT-2022-20464

CVE-2022-3102

·

Published

2022-09-21

·

Updated

2026-11-10

Description by

CVSS 3.1
6.8
Medium
MetricsAV:N/AC:L/PR:H/UI:N/S:C/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions OSV (affected versions not specified)
Description The issue concerns the JWT code's ability to auto-detect token types, potentially leading to incorrect conclusions about token trustworthiness. Under certain circumstances, an attacker can substitute a signed JWS with a JWE encrypted with the public key used for signature validation. This substitution attack requires the validating application to have access to the private key used for signing tokens. The attack's significance depends on the token's use, potentially leading to authentication or authorization bypass, as the attacker can inject desired claim values. Several mitigating factors can protect applications, including the unavailability of the private key, specific JWK parameters, and token type checks before validation.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Vendors
Affected products
Related identifiers
GHSA-GWP4-MCV4-W95J
OESA-2024-2443
OPENSUSE-SU-2024:12528-1
OPENSUSE-SU-2025:15096-1
PYSEC-2026-827
RHLW-2026-D8DAE5C979459DA3
Found an issue in the description? Have something to add? Feel free to write us 👾