Moderate: python-jwcrypto security update

python3-jwcrypto Updated 02 Oct 2025

Summary

30/04/2024
N/A
Yes i
Unrated
Not published

ALSA-2024:2559: Moderate: python-jwcrypto security update. Affects python3-jwcrypto versions < 0.8-5.el9_4. Fixed in 0.8-5.el9_4. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The python-jwcrypto package is a Python library that implements various JSON Web Key (JWK), JSON Web Signature (JWS), JSON Web Encryption (JWE), and JSON Web Token (JWT) JOSE (JSON Object Signing and Encryption) standards. It provides functionality for generating, signing, encrypting, and verifying JSON web tokens. The package is widely used in applications that require secure authentication and authorization mechanisms.

Vulnerability Detail

A vulnerability has been identified in the python-jwcrypto package that could allow an attacker to cause a denial of service (DoS) by exploiting a malicious JSON Web Encryption (JWE) token. This vulnerability is tracked as CVE-2024-28102. An attacker can craft a specially crafted JWE token that triggers a flaw in the package, leading to excessive resource consumption and potentially causing the application to become unresponsive. The impact of this vulnerability can range from service disruption to complete denial of service.

How To Fix

Minimum fixed version

0.8-5.el9_4

This is the first release that contains the fix.

sudo dnf update python3-jwcrypto

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the security update as soon as possible to mitigate the risk of exploitation.

Conclusion

The python-jwcrypto package is vulnerable to a denial of service (DoS) attack through a malicious JSON Web Encryption (JWE) token. To mitigate this vulnerability, it is crucial to update the package to version 0.8-5.el9_4 or later. Failure to apply the security update may result in service disruption or complete denial of service. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for python3-jwcrypto →

Share this vulnerability

FAQ

The python-jwcrypto package is a Python library that implements various JSON Web Key (JWK), JSON Web Signature (JWS), JSON Web Encryption (JWE), and JSON Web Token (JWT) JOSE (JSON Object Signing and Encryption) standards. It provides functionality for generating, signing, encrypting, and verifying JSON web tokens.

This vulnerability can allow an attacker to cause a denial of service (DoS) by exploiting a malicious JSON Web Encryption (JWE) token. The impact can range from service disruption to complete denial of service.

To fix this vulnerability, it is recommended to update the python-jwcrypto package to version 0.8-5.el9_4 or later. This update includes a patch that addresses the vulnerability and ensures the proper handling of JWE tokens.

There is no known workaround for this vulnerability. It is essential to apply the security update as soon as possible to mitigate the risk of exploitation.

More information about this vulnerability can be found in the CVE page associated with CVE-2024-28102.

Related vulnerabilities

Recent vulnerabilities recorded for python3-jwcrypto.

How To Fix

Minimum fixed version

0.8-5.el9_4

This is the first release that contains the fix.

sudo dnf update python3-jwcrypto

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback