cve.bz

CVE-2023-6681 Uncontrolled Resource Consumption

5.3 mediumEPSS 0.9%Fix available

Medium (5.3). EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in jwcrypto 1.5.1.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 60th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-02-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • jwcrypto (PyPI): fixed in 1.5.1
  • Red Hat Red Hat Enterprise Linux 8: fixed in 8100020240417004735.143e9e98
  • Red Hat Red Hat Enterprise Linux 8: fixed in 8100020240416171943.823393f5
  • Red Hat Red Hat Enterprise Linux 9: fixed in 0:1.5.6-2.el9
  • Debian, Red Hat, AlmaLinux, Rocky Linux, Alpine: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2023-6681 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-6681?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-6681?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-6681 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 88100020240417004735.143e9e98
Red Hat Enterprise Linux 88100020240416171943.823393f5
Red Hat Enterprise Linux 90:1.5.6-2.el9

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-cw2r-4p82-qv79PyPIjwcrypto<1.5.11.5.1
PYSEC-2024-104PyPIjwcrypto<1.5.11.5.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12python-jwcryptono fix listedDEBIAN-CVE-2023-6681
Debian13, 14python-jwcrypto1.5.4-1DEBIAN-CVE-2023-6681
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 morepython-jwcryptono fix listedUBUNTU-CVE-2023-6681
Red Hatenterprise_linux:8::appstreambind-dyndb-ldap, bind-dyndb-ldap-debuginfo, bind-dyndb-ldap-debugsource0:11.6-5.module+el8.10.0+21691+df63127dRHSA-2024:3267
Red Hatenterprise_linux:8::appstreamcustodia, python3-custodia0:0.6.0-3.module+el8.9.0+18911+94941f82RHSA-2024:3267
Red Hatenterprise_linux:8::appstreamipa, ipa-client, ipa-common and 10 more0:4.9.13-9.module+el8.10.0+21692+c9b201bcRHSA-2024:3267
Red Hatenterprise_linux:8::appstreamipa-healthcheck, ipa-healthcheck-core0:0.12-3.module+el8.9.0+19692+fac39a03RHSA-2024:3267
Red Hatenterprise_linux:8::appstreamipa-server, ipa-server-dns, python3-ipatests and 5 more0:4.9.13-9.module+el8.10.0+21691+df63127dRHSA-2024:3267
Red Hatenterprise_linux:8::appstreamopendnssec, opendnssec-debuginfo, opendnssec-debugsource0:2.1.7-1.module+el8.9.0+18911+94941f82RHSA-2024:3267
Red Hatenterprise_linux:8::appstreampython-jwcrypto, python3-jwcrypto0:0.5.0-2.module+el8.10.0+21692+c9b201bcRHSA-2024:3267
Red Hatenterprise_linux:8::appstreampython-kdcproxy, python3-kdcproxy0:0.4-5.module+el8.9.0+18911+94941f82RHSA-2024:3267
Red Hatenterprise_linux:8::appstreampython-qrcode, python3-qrcode, python3-qrcode-core0:5.1-12.module+el8.9.0+18920+2223d05eRHSA-2024:3267
Red Hatenterprise_linux:8::appstreampython-yubico, python3-yubico0:1.3.2-9.1.module+el8.9.0+18920+2223d05eRHSA-2024:3267
Red Hatenterprise_linux:8::appstreampyusb, python3-pyusb0:1.0.0-9.1.module+el8.9.0+18920+2223d05eRHSA-2024:3267
Red Hatenterprise_linux:8::appstreamslapi-nis, slapi-nis-debuginfo, slapi-nis-debugsource0:0.60.0-4.module+el8.10.0+20723+03062ebdRHSA-2024:3267
2 more for Red Hat in the JSON and on Red Hat's page.
AlmaLinux9python3-jwcrypto1.5.6-2.el9ALSA-2024:9281
Rocky Linux8bind-dyndb-ldap0:11.6-5.module+el8.10.0+1819+0aeba2f1RLSA-2024:3267
Rocky Linux8custodia0:0.6.0-3.module+el8.9.0+1371+ffa84eb9RLSA-2024:3267
Rocky Linux8ipa0:4.9.13-9.module+el8.10.0+1818+2dfda7a6RLSA-2024:3267
Rocky Linux8ipa-healthcheck0:0.12-3.module+el8.9.0+1433+5bd2f890RLSA-2024:3267
Rocky Linux8opendnssec0:2.1.7-1.module+el8.9.0+1371+ffa84eb9RLSA-2024:3267
Rocky Linux8python-jwcrypto0:0.5.0-2.module+el8.10.0+1818+2dfda7a6RLSA-2024:3267
Rocky Linux8python-kdcproxy0:0.4-5.module+el8.9.0+1371+ffa84eb9RLSA-2024:3267
Rocky Linux8python-qrcode0:5.1-12.module+el8.9.0+1371+ffa84eb9RLSA-2024:3267
Rocky Linux8python-yubico0:1.3.2-9.1.module+el8.9.0+1371+ffa84eb9RLSA-2024:3267
Rocky Linux8pyusb0:1.0.0-9.1.module+el8.9.0+1371+ffa84eb9RLSA-2024:3267
Rocky Linux8slapi-nis0:0.60.0-4.module+el8.9.0+1573+39ab85f4RLSA-2024:3267
Rocky Linux8softhsm0:2.6.0-5.module+el8.9.0+1371+ffa84eb9RLSA-2024:3267
1 more for Rocky Linux in the JSON.
Alpinev3.19, v3.20, v3.21 and 3 morepy3-jwcrypto1.5.1-r0ALPINE-CVE-2023-6681
Azure Linux2python-jwcryptono fix listedAZL-43006
Azure Linux3python-jwcryptono fix listedAZL-43009

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The identified vulnerability within the jwcrypto package, presents a moderate severity concern rather than a important one due to several mitigating factors. While the unbounded PBES2 Count value in PBKDF2 algorithms can potentially facilitate a Denial of Service (DoS) attack, its severity is tempered by the fact that successful exploitation requires specific conditions and considerable computational resources. Additionally, applications not reliant on PBKDF2 can easily exclude it from their algorithms list, further reducing exposure.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8idm:client-8100020240417004735.143e9e98Fixed 2024-05-22RHSA-2024:3267
Red Hat Enterprise Linux 8idm:DL1-8100020240416171943.823393f5Fixed 2024-05-22RHSA-2024:3267
Red Hat Enterprise Linux 9python-jwcrypto-0:1.5.6-2.el9Fixed 2024-11-12RHSA-2024:9281
Red Hat Ansible Automation Platform 2automation-controllerNot affected
Red Hat Enterprise Linux 7python-jwcryptoOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-6681.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON