CVE-2023-6681
Jwcrypto: denail of service via specifically crafted jwe
Reported by redhat · Published February 12, 2024
jwcrypto is fixed in 1.5.1 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| jwcrypto | PyPI | 1.5.1 |
| py3-jwcrypto | Alpine | 1.5.1-r0 |
| python-jwcrypto | Amazon Linux | 0.4.2-1.amzn2.0.1 |
| jwcrypto | latchset | 1.5.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat | Red Hat Enterprise Linux 8 | 8100020240417004735.143e9e98 |
| Red Hat | Red Hat Enterprise Linux 8 | 8100020240416171943.823393f5 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:1.5.6-2.el9 |
| Red Hat | Red Hat Ansible Automation Platform 2 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Ansible Automation Platform 2 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Enterprise Linux 9 | 0:1.5.6-2.el9 |
| Red Hat | Red Hat Enterprise Linux 8 | 8100020240417004735.143e9e98 |
| alpine | py3-jwcrypto | 0 |
| amazon:2 | python-jwcrypto | 0 |
| Red Hat | Red Hat Enterprise Linux 8 | 8100020240416171943.823393f5 |
| PyPI | jwcrypto | 0 |
Timeline
- Dec 28, 2023 CVE Published
- Feb 13, 2024 EPSS Score (30 in total, the first dated here)
- Oct 5, 2024 Coalition ESS Score (9 in total, the first dated here)
- Mar 10, 2026 Security Advisory (13 in total, the first dated here)
- Sep 1, 2026 CVE Updated
- Sep 2, 2026 Distribution Patch (11 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-6681
vulnetix vdb fixes CVE-2023-6681
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-6681/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2024:3267 vendor-advisoryx_refsource_REDHAT
- RHSA-2024:9281 vendor-advisoryx_refsource_REDHAT
- vdb-entryx_refsource_REDHAT
- RHBZ#2260843 issue-trackingx_refsource_REDHAT
- https://nvd.nist.gov/vuln/detail/CVE-2023-6681 advisory
- https://github.com/advisories/GHSA-cw2r-4p82-qv79 advisory
- https://github.com/latchset/jwcrypto/security/advisories/GHSA-cw2r-4p82-qv79 url
- https://github.com/latchset/jwcrypto/commit/d2655d370586cb830e49acfb450f87598da60be8 patch
- https://github.com/latchset/jwcrypto url
- https://github.com/pypa/advisory-database/tree/main/vulns/jwcrypto/PYSEC-2024-104.yaml advisory