CVE-2023-6681 Jwcrypto: denail of service via specifically crafted jwe
An attacker can cause a denial of service in applications using JWCrypto by sending crafted JWE tokens that consume excessive computational resources.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-6681?
CVE-2023-6681 is a medium-severity denial of service vulnerability in Fedoraproject Fedora, published on 12 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-400
Which versions are affected by CVE-2023-6681?
3 open source packages ship an affected version, including jwcrypto. It affects 6 products.
| Package | Affected | Fixed in |
|---|---|---|
jwcrypto PyPI | All versions | 1.5.1 |
jwcrypto PyPI | All versions | 1.5.1 |
jwcrypto PyPI | All versions | 1.5.1 |
Linux distribution packages (4)
python3-jwcrypto AlmaLinux:9 | All versions | 1.5.6-2.el9 |
python-jwcrypto Red Hat:enterprise_linux:9::appstream | All versions | 0:1.5.6-2.el9 |
python3-jwcrypto Red Hat:enterprise_linux:9::appstream | All versions | 0:1.5.6-2.el9 |
python-jwcrypto Rocky Linux:9 | All versions | 0:1.5.6-2.el9 |
Products include Fedoraproject Fedora, Latchset Jwcrypto, Redhat Enterprise Linux, Redhat Enterprise Linux for Arm 64, Redhat Enterprise Linux for Ibm Z Systems, Redhat Enterprise Linux for Power Little Endian.
How do I fix CVE-2023-6681?
Upgrade jwcrypto to 1.5.1 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2023-6681 being exploited?
There is no known exploitation of CVE-2023-6681 in the wild and no public exploit code.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as ALSA-2024:9281, AZL-43006, AZL-43009, DEBIAN-CVE-2023-6681, GHSA-cw2r-4p82-qv79, OESA-2024-1195 and 7 more.