Cyber Resilience

CVE-2022-39227

Critical

Published: 23 September 2022

Published
23 September 2022
Modified
21 November 2024
KEV Added
Patch
CVSS Score v3.1 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS Score 0.6541 98.5th percentile
Risk Priority 57 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2022-39227 is a critical-severity Authentication Bypass by Spoofing (CWE-290) vulnerability in Python-Jwt Project Python-Jwt. Its CVSS base score is 9.1 (Critical).

Operationally, ranked in the top 1.5% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis

python-jwt is a Python module used to generate and verify JSON Web Tokens. Versions prior to 3.3.4 contain an authentication bypass vulnerability (CWE-290) that allows an attacker in possession of a valid JWT to arbitrarily modify its claims without knowledge of the signing secret, resulting in a CVSS 3.1 score of 9.1.

An attacker who obtains any JWT token can therefore spoof arbitrary user identities, hijack sessions, or bypass authentication controls in applications that rely on the library for token validation. The flaw is exploitable over the network without authentication or user interaction.

Advisories and the project repository direct users to upgrade immediately to version 3.3.4; the referenced commits address the verification logic, and no workarounds are documented.

The EPSS score has reached a peak of 0.7131 with a current value of 0.6541, indicating sustained exploitation interest following disclosure.

EU & UK References

Vulnerability details

python-jwt is a module for generating and verifying JSON Web Tokens. Versions prior to 3.3.4 are subject to Authentication Bypass by Spoofing, resulting in identity spoofing, session hijacking or authentication bypass. An attacker who obtains a JWT can arbitrarily forge…

more

its contents without knowing the secret key. Depending on the application, this may for example enable the attacker to spoof other user's identities, hijack their sessions, or bypass authentication. Users should upgrade to version 3.3.4. There are no known workarounds.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

python-jwt project
python-jwt
3.0.0 — 3.3.4

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-290

Reveals spoofed logon attempts through unexpected previous logon timestamps upon legitimate login.

addresses: CWE-290

Training specifically addresses recognizing spoofed communications and phishing that enable authentication bypass.

addresses: CWE-290

Requiring verifiable identity evidence at appropriate assurance levels makes it substantially harder for attackers to successfully spoof or impersonate users to obtain accounts.

addresses: CWE-290

Unique device authentication makes successful spoofing of device identity substantially more difficult to achieve.

addresses: CWE-290

Unique identification of non-organizational users reduces the feasibility of authentication bypass by spoofing.

addresses: CWE-290

Unique identification and authentication of services before communications makes spoofing of service identities substantially harder.

addresses: CWE-290

Isolated trusted path ensures the user interacts only with genuine system components, preventing spoofing of authentication interfaces or prompts.

addresses: CWE-290

Directly counters DNS response spoofing by requiring cryptographic origin authentication artifacts from the authoritative source.

References