Bug 2385868 (CVE-2025-45768)

Summary: CVE-2025-45768 pyjwt: pyjwt Weak Encryption Vulnerability
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: adudiak, amctagga, anpicker, anthomas, aoconnor, aprice, bdettelb, bniver, caswilli, dnakabaa, doconnor, dranck, eglynn, ehelms, flucifre, ggainey, gmeno, haoli, hasun, hkataria, jajackso, jcammara, jfula, jjoyce, jkoehler, jmitchel, jneedle, joehler, jowilson, jsamir, jschluet, juwatts, jwendell, jwong, kaycoth, kegrant, kholdawa, koliveir, kshier, lball, lbrazdil, lchilton, lcouzens, lhh, ljawale, lphiri, lsvaty, luizcosta, mabashia, mbenjamin, mburns, mgarciac, mhackett, mhulan, mminar, mskarbek, ngough, nmoumoul, nweather, nyancey, oalbrigt, oezr, omaciel, ometelka, osousa, pbraun, pcreech, pgrist, ptisnovs, rbiba, rbobbitt, rcernich, rchan, sfeifer, shvarugh, simaishi, smallamp, smcdonal, sostapov, sskracic, stcannon, syedriko, teagle, tfister, thavo, tmalecek, tpfromme, ttakamiy, vereddy, veshanka, xdharmai, yguenane, zdohnal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in pyjwt. The library uses weak encryption, allowing an attacker to potentially decrypt sensitive data. A network-based attacker can exploit this vulnerability without authentication, possibly resulting in a denial of service or data exposure. This weakness stems from the use of inadequate cryptographic algorithms.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2385904, 2385905, 2385906, 2385907, 2389943, 2389944, 2389946, 2392912, 2392913, 2385902, 2385903, 2389945    
Bug Blocks:    

Description OSIDB Bzimport 2025-07-31 21:01:54 UTC
pyjwt v2.10.1 was discovered to contain weak encryption.

Comment 4 Oyvind Albrigtsen 2025-08-15 11:53:09 UTC
Is there a patch available? The versions where it's fixed is only available on RHEL10.

Example from RHEL9.6:
# python3 -m pip download --no-binary :all: --no-deps PyJWT
Collecting PyJWT
  Downloading pyjwt-2.10.1.tar.gz (87 kB)
     |████████████████████████████████| 87 kB 6.7 MB/s             
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Saved ./pyjwt-2.10.1.tar.gz
Successfully downloaded PyJWT

Comment 5 Oyvind Albrigtsen 2025-08-28 12:23:26 UTC
Correction. There is no fix available for RHEL10 either.