CVE-2023-6681 json
Jwcrypto: denail of service via specifically crafted jwe
published 2023-12-28 2 y ago modified 2026-11-05 4 d ago also EUVD-2024-0081 , GHSA-cw2r-4p82-qv79 , PYSEC-2024-104
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 59%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi jwcrypto 1.5.1
- Red Hat Red Hat Enterprise Linux 8 8100020240416171943.823393f5, 8100020240417004735.143e9e98
- Red Hat Red Hat Enterprise Linux 9 0:1.5.6-2.el9
- python-jwcrypto Debian 14, Debian 13 1.5.4-1
debian advisories DEBIAN-CVE-2023-6681
- python-jwcrypto RHEL 9 1.5.6-2.el9
- python3-jwcrypto RHEL 9 1.5.6-2.el9
- ipa RHEL 8 4.9.13-9.module+el8.10.0+21692+c9b201bc
- pyusb RHEL 8 1.0.0-9.1.module+el8.9.0+18920+2223d05e
- softhsm RHEL 8 2.6.0-5.module+el8.9.0+18911+94941f82
- custodia RHEL 8 0.6.0-3.module+el8.9.0+18911+94941f82
- slapi-nis RHEL 8 0.60.0-4.module+el8.10.0+20723+03062ebd
- ipa-client RHEL 8 4.9.13-9.module+el8.10.0+21692+c9b201bc
red hat advisories RHSA-2024:9281RHSA-2024:3267
- python3-jwcrypto AlmaLinux 9 1.5.6-2.el9
almalinux advisories ALSA-2024:9281
- python-jwcrypto Rocky Linux 9 1.5.6-2.el9
- ipa Rocky Linux 8 4.9.13-9.module+el8.10.0+1818+2dfda7a6
- pyusb Rocky Linux 8 1.0.0-9.1.module+el8.9.0+1371+ffa84eb9
- softhsm Rocky Linux 8 2.6.0-5.module+el8.9.0+1371+ffa84eb9
- custodia Rocky Linux 8 0.6.0-3.module+el8.9.0+1371+ffa84eb9
- slapi-nis Rocky Linux 8 0.60.0-4.module+el8.9.0+1573+39ab85f4
- opendnssec Rocky Linux 8 2.1.7-1.module+el8.9.0+1371+ffa84eb9
- python-qrcode Rocky Linux 8 5.1-12.module+el8.9.0+1371+ffa84eb9
rocky linux advisories RLSA-2024:9281RLSA-2024:3267
- py3-jwcrypto Alpine 3.24, Alpine 3.23, Alpine 3.22 +3 more 1.5.1-r0
alpine advisories ALPINE-CVE-2023-6681
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-6681 updated cvss 5.3
JWCrypto: denail of service Via specifically crafted JWE
-
Red Hat Enterprise Linux 7 python-jwcryptoaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux AppStream (v. 8) ipa 4.9.13-9.module+el8.10.0+21691+df63127d, ipa 4.9.13-9.module+el8.10.0+21692+c9b201bc, pyusb 1.0.0-9.1.module+el8.9.0+18911+94941f82, pyusb 1.0.0-9.1.module+el8.9.0+18920+2223d05e, softhsm 2.6.0-5.module+el8.9.0+18911+94941f82, custodia 0.6.0-3.module+el8.9.0+18911+94941f82, +50 morefixed: vendor fix RHSA-2024:3267
-
Red Hat Enterprise Linux AppStream (v. 9) python-jwcrypto 1.5.6-2.el9, python3-jwcrypto 1.5.6-2.el9fixed: vendor fix RHSA-2024:9281
-
Red Hat Ansible Automation Platform 2 automation-controllernot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.88% chance of exploitation in the next 30 days, higher than 59% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | jwcrypto | <1.5.1 |
1.5.1 |
Affected products
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat Ansible Automation Platform 2
- Red Hat Red Hat Enterprise Linux 7
Classification
- Weakness
-
- CWE-400 Uncontrolled Resource Consumption
References
-
github.com
/latchset/jwcrypto/commit/d2655d370586cb830e49acfb450f87598da60be8
web
-
access.redhat.com
/errata/RHSA-2024:3267
vendor-advisory, web, third-party-advisory, advisory
-
access.redhat.com
/errata/RHSA-2024:9281
vendor-advisory, web
-
access.redhat.com
/security/cve/CVE-2023-6681
vdb-entry, web, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2260843
issue-tracking, web, third-party-advisory, report
-
github.com
/latchset/jwcrypto/security/advisories/GHSA-cw2r-4p82-qv79
web
-
nvd.nist.gov
/vuln/detail/CVE-2023-6681
advisory
-
github.com
/latchset/jwcrypto
package
-
github.com
/pypa/advisory-database/tree/main/vulns/jwcrypto/PYSEC-2024-104.yaml
web
-
github.com
/advisories/GHSA-cw2r-4p82-qv79
advisory
Sources
- CVE List CVE-2023-6681
- GitHub Advisory GHSA-cw2r-4p82-qv79
- NVD CVE-2023-6681
- OSV PYSEC-2024-104
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.