CVE-2023-6681: jwcrypto Denial of Service Vulnerability and Resource Exhaustion Risk

jwcrypto Updated 02 Oct 2025

Summary

12/02/2024
Yes i
Moderate
5.3

CVE-2023-6681: A vulnerability was found in JWCrypto. Affects jwcrypto versions < 1.5.1. Fixed in 1.5.1. How to fix ↓

Also tracked for

The same CVE-2023-6681 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

jwcrypto is a Python library that provides tools for working with JSON Web Tokens (JWT) and other cryptographic operations. It is widely used for secure token generation and validation in web applications. However, a vulnerability has been identified that can lead to denial of service (DoS) attacks, making it crucial for users to understand and address this issue promptly.

Vulnerability Detail

A vulnerability was found in jwcrypto that allows attackers to execute denial of service (DoS) attacks. This flaw can make password brute-force and dictionary attacks more resource-intensive, leading to significant computational consumption. The issue arises from the way certain cryptographic operations are handled, which can be exploited to exhaust system resources, resulting in service unavailability.

How To Fix

Minimum fixed version

1.5.1

This is the first release that contains the fix.

pip install --upgrade "jwcrypto==1.5.1"

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

Workaround

As a temporary workaround, consider implementing rate limiting on authentication attempts to mitigate the impact of potential brute-force attacks while you update the package.

Conclusion

The vulnerability identified as CVE-2023-6681 in the jwcrypto package poses a risk of denial of service attacks and resource exhaustion. It is essential for users to update to version 1.5.1 or later to protect their applications. Implementing rate limiting can serve as a temporary measure while the update is performed.

See every vulnerability recorded for jwcrypto →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 5.3, indicating a moderate level of risk.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The potential consequences include denial of service attacks that can exhaust system resources, leading to application downtime and degraded performance.

Yes, you should upgrade to jwcrypto version 1.5.1 or later to mitigate this vulnerability.

Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities in your software using just the Pipfile.lock.

Related vulnerabilities

Recent vulnerabilities recorded for jwcrypto.

How To Fix

Minimum fixed version

1.5.1

This is the first release that contains the fix.

pip install --upgrade "jwcrypto==1.5.1"

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.