CVEfocus › CVE database › CVE-2023-6681

CVE-2023-6681Jwcrypto: denail of service via specifically crafted jwe

CVSS 5.3 MediumEPSS 1.2% (higher than 68% of CVEs)Published 2024-02-12Updated 2026-11-05Assigner: redhat

A vulnerability was found in JWCrypto. This flaw allows an attacker to cause a denial of service (DoS) attack and possible password brute-force and dictionary attacks to be more resource-intensive. This issue can result in a large amount of computational consumption, causing a denial of service attack.

CWE-400

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, PyPI, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

61Fixed
4Fix pending
1Under investigation
5Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10python-jwcryptoFix pendingUBUNTU-CVE-2023-6681
Ubuntu 26.04python-jwcryptoFix pendingUBUNTU-CVE-2023-6681
Ubuntu 25.10python-jwcryptoWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-6681
Ubuntu 24.04python-jwcryptoFix pendingUBUNTU-CVE-2023-6681
Ubuntu 22.04python-jwcryptoUnder investigationUBUNTU-CVE-2023-6681
Ubuntu 20.04python-jwcryptoWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-6681
Ubuntu 18.04python-jwcryptoWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-6681
Ubuntu 16.04python-jwcryptoWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-6681
Debian 14python-jwcryptoFixed1.5.4-1DEBIAN-CVE-2023-6681
Debian 13python-jwcryptoFixed1.5.4-1DEBIAN-CVE-2023-6681
Debian 12python-jwcryptoFix pendingDEBIAN-CVE-2023-6681
Red Hat Enterprise Linux 9python-jwcryptoFixed0:1.5.6-2.el9RHSA-2024:9281
Red Hat Enterprise Linux 9python3-jwcryptoFixed0:1.5.6-2.el9RHSA-2024:9281
Red Hat Enterprise Linux 8bind-dyndb-ldapFixed0:11.6-5.module+el8.10.0+21691+df63127dRHSA-2024:3267
Red Hat Enterprise Linux 8custodiaFixed0:0.6.0-3.module+el8.9.0+18911+94941f82RHSA-2024:3267
Red Hat Enterprise Linux 8ipaFixed0:4.9.13-9.module+el8.10.0+21692+c9b201bcRHSA-2024:3267
Red Hat Enterprise Linux 8ipa-clientFixed0:4.9.13-9.module+el8.10.0+21692+c9b201bcRHSA-2024:3267
Red Hat Enterprise Linux 8ipa-client-commonFixed0:4.9.13-9.module+el8.10.0+21692+c9b201bcRHSA-2024:3267
Red Hat Enterprise Linux 8ipa-client-epnFixed0:4.9.13-9.module+el8.10.0+21692+c9b201bcRHSA-2024:3267
Red Hat Enterprise Linux 8ipa-client-sambaFixed0:4.9.13-9.module+el8.10.0+21692+c9b201bcRHSA-2024:3267
Red Hat Enterprise Linux 8ipa-commonFixed0:4.9.13-9.module+el8.10.0+21692+c9b201bcRHSA-2024:3267
Red Hat Enterprise Linux 8ipa-healthcheckFixed0:0.12-3.module+el8.9.0+19692+fac39a03RHSA-2024:3267
Red Hat Enterprise Linux 8ipa-healthcheck-coreFixed0:0.12-3.module+el8.9.0+19692+fac39a03RHSA-2024:3267
Red Hat Enterprise Linux 8ipa-python-compatFixed0:4.9.13-9.module+el8.10.0+21692+c9b201bcRHSA-2024:3267
Red Hat Enterprise Linux 8ipa-selinuxFixed0:4.9.13-9.module+el8.10.0+21692+c9b201bcRHSA-2024:3267
Red Hat Enterprise Linux 8ipa-serverFixed0:4.9.13-9.module+el8.10.0+21691+df63127dRHSA-2024:3267
Red Hat Enterprise Linux 8ipa-server-commonFixed0:4.9.13-9.module+el8.10.0+21691+df63127dRHSA-2024:3267
Red Hat Enterprise Linux 8ipa-server-dnsFixed0:4.9.13-9.module+el8.10.0+21691+df63127dRHSA-2024:3267
Red Hat Enterprise Linux 8ipa-server-trust-adFixed0:4.9.13-9.module+el8.10.0+21691+df63127dRHSA-2024:3267
Red Hat Enterprise Linux 8opendnssecFixed0:2.1.7-1.module+el8.9.0+18911+94941f82RHSA-2024:3267
Red Hat Enterprise Linux 8python-jwcryptoFixed0:0.5.0-2.module+el8.10.0+21692+c9b201bcRHSA-2024:3267
Red Hat Enterprise Linux 8python-kdcproxyFixed0:0.4-5.module+el8.9.0+18911+94941f82RHSA-2024:3267
Red Hat Enterprise Linux 8python-qrcodeFixed0:5.1-12.module+el8.9.0+18920+2223d05eRHSA-2024:3267
Red Hat Enterprise Linux 8python-yubicoFixed0:1.3.2-9.1.module+el8.9.0+18920+2223d05eRHSA-2024:3267
Red Hat Enterprise Linux 8python3-custodiaFixed0:0.6.0-3.module+el8.9.0+18911+94941f82RHSA-2024:3267
Red Hat Enterprise Linux 8python3-ipaclientFixed0:4.9.13-9.module+el8.10.0+21692+c9b201bcRHSA-2024:3267
Red Hat Enterprise Linux 8python3-ipalibFixed0:4.9.13-9.module+el8.10.0+21692+c9b201bcRHSA-2024:3267
Red Hat Enterprise Linux 8python3-ipaserverFixed0:4.9.13-9.module+el8.10.0+21691+df63127dRHSA-2024:3267
Red Hat Enterprise Linux 8python3-ipatestsFixed0:4.9.13-9.module+el8.10.0+21691+df63127dRHSA-2024:3267
Red Hat Enterprise Linux 8python3-jwcryptoFixed0:0.5.0-2.module+el8.10.0+21692+c9b201bcRHSA-2024:3267
Red Hat Enterprise Linux 8python3-kdcproxyFixed0:0.4-5.module+el8.9.0+18911+94941f82RHSA-2024:3267
Red Hat Enterprise Linux 8python3-pyusbFixed0:1.0.0-9.1.module+el8.9.0+18920+2223d05eRHSA-2024:3267
Red Hat Enterprise Linux 8python3-qrcodeFixed0:5.1-12.module+el8.9.0+18920+2223d05eRHSA-2024:3267
Red Hat Enterprise Linux 8python3-qrcode-coreFixed0:5.1-12.module+el8.9.0+18920+2223d05eRHSA-2024:3267
Red Hat Enterprise Linux 8python3-yubicoFixed0:1.3.2-9.1.module+el8.9.0+18920+2223d05eRHSA-2024:3267
Red Hat Enterprise Linux 8pyusbFixed0:1.0.0-9.1.module+el8.9.0+18920+2223d05eRHSA-2024:3267
Red Hat Enterprise Linux 8slapi-nisFixed0:0.60.0-4.module+el8.10.0+20723+03062ebdRHSA-2024:3267
Red Hat Enterprise Linux 8softhsmFixed0:2.6.0-5.module+el8.9.0+18911+94941f82RHSA-2024:3267
Red Hat Enterprise Linux 8softhsm-develFixed0:2.6.0-5.module+el8.9.0+18911+94941f82RHSA-2024:3267
Red Hat Enterprise Linux 7python-jwcryptoWill not fix
Out of support scope
AlmaLinux 9python3-jwcryptoFixed1.5.6-2.el9ALSA-2024:9281
Rocky Linux 9python-jwcryptoFixed0:1.5.6-2.el9RLSA-2024:9281
Rocky Linux 8bind-dyndb-ldapFixed0:11.6-5.module+el8.10.0+1819+0aeba2f1RLSA-2024:3267
Rocky Linux 8custodiaFixed0:0.6.0-3.module+el8.9.0+1371+ffa84eb9RLSA-2024:3267
Rocky Linux 8ipaFixed0:4.9.13-9.module+el8.10.0+1818+2dfda7a6RLSA-2024:3267
Rocky Linux 8ipa-healthcheckFixed0:0.12-3.module+el8.9.0+1433+5bd2f890RLSA-2024:3267
Rocky Linux 8opendnssecFixed0:2.1.7-1.module+el8.9.0+1371+ffa84eb9RLSA-2024:3267
Rocky Linux 8python-jwcryptoFixed0:0.5.0-2.module+el8.10.0+1818+2dfda7a6RLSA-2024:3267
Rocky Linux 8python-kdcproxyFixed0:0.4-5.module+el8.9.0+1371+ffa84eb9RLSA-2024:3267
Rocky Linux 8python-qrcodeFixed0:5.1-12.module+el8.9.0+1371+ffa84eb9RLSA-2024:3267
Rocky Linux 8python-yubicoFixed0:1.3.2-9.1.module+el8.9.0+1371+ffa84eb9RLSA-2024:3267
Rocky Linux 8pyusbFixed0:1.0.0-9.1.module+el8.9.0+1371+ffa84eb9RLSA-2024:3267
Rocky Linux 8slapi-nisFixed0:0.60.0-4.module+el8.9.0+1573+39ab85f4RLSA-2024:3267
Rocky Linux 8softhsmFixed0:2.6.0-5.module+el8.9.0+1371+ffa84eb9RLSA-2024:3267
Alpine Linux 3.24py3-jwcryptoFixed1.5.1-r0ALPINE-CVE-2023-6681
Alpine Linux 3.23py3-jwcryptoFixed1.5.1-r0ALPINE-CVE-2023-6681
Alpine Linux 3.22py3-jwcryptoFixed1.5.1-r0ALPINE-CVE-2023-6681
Alpine Linux 3.21py3-jwcryptoFixed1.5.1-r0ALPINE-CVE-2023-6681
Alpine Linux 3.20py3-jwcryptoFixed1.5.1-r0ALPINE-CVE-2023-6681
Alpine Linux 3.19py3-jwcryptoFixed1.5.1-r0ALPINE-CVE-2023-6681
PyPI libraryjwcryptoFixed1.5.1PYSEC-2024-104

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.