5.3medium
Jwcrypto: denail of service via specifically crafted jwe
- Severity
- 5.3medium CVSS:3.1 by redhat
- Exploit likelihood
- 0.96% (higher than 62% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
- Also known as
- GHSA-cw2r-4p82-qv79PYSEC-2024-104
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| idm:client | Not specified Not affected: from 8100020240417004735.143e9e98 before * | CVE List |
| idm:DL1 | Not specified Not affected: from 8100020240416171943.823393f5 before * | CVE List |
| python-jwcrypto | Not specified Not affected: from 0:1.5.6-2.el9 before * | CVE List |
| automation-controller | Not specified | CVE List |
| jwcrypto (PyPI) | before 1.5.1 | GitHub Advisory Database, PyPA Advisory Database |
| latchset jwcrypto | before 1.5.1 | NVD |
| fedoraproject fedora | 38, 39 | NVD |
| redhat enterprise_linux | 8.0, 9.0 | NVD |
| redhat enterprise_linux_for_arm_64 | 8.0 | NVD |
| redhat enterprise_linux_for_ibm_z_systems | 8.0 | NVD |
| redhat enterprise_linux_for_power_little_endian | 8.0 | NVD |
All scores
| redhat | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| PyPA Advisory Database | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
Impact
Denial of Service, Applications that allow the use of the PBKDF2 algorithm.
Patches
A patch is available that sets the maximum number of default rounds.
Workarounds
Applications that do not need to use PBKDF2 should simply specify the algorithms use and exclude it from the list. Applications that need to use the algorithm should upgrade to the new version that allows to set a maximum rounds number.
Acknowledgement
The issues was reported by Jingcheng Yang and Jianjun Chen from Sichuan University and Zhongguancun Lab
NVD (es)
Se encontró una vulnerabilidad en JWCrypto. Esta falla permite que un atacante provoque un ataque de denegación de servicio (DoS) y posibles ataques de fuerza bruta y diccionario de contraseñas que consuman más recursos. Este problema puede resultar en una gran cantidad de consumo computacional, provocando un ataque de denegación de servicio.
References
| https://access.redhat.com/errata/RHSA-2024:3267 | advisory, third-party-advisory, vendor-advisory, web | |
| https://access.redhat.com/errata/RHSA-2024:9281 | vendor-advisory, web | |
| https://access.redhat.com/security/cve/CVE-2023-6681 | third-party-advisory, vdb-entry, web | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2260843 | issue-tracking, report, third-party-advisory, web | |
| https://github.com/latchset/jwcrypto/security/advisories/GHSA-cw2r-4p82-qv79 | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-6681 | advisory | |
| https://github.com/latchset/jwcrypto/commit/d2655d370586cb830e49acfb450f87598da60be8 | web | |
| https://github.com/latchset/jwcrypto | package | |
| https://github.com/pypa/advisory-database/tree/main/vulns/jwcrypto/PYSEC-2024-104.yaml | web | |
| https://github.com/advisories/GHSA-cw2r-4p82-qv79 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-6681 changed 2026-11-05 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cw2r-4p82-qv79 changed 2024-11-12 | CC-BY-4.0 |
| NVD | CVE-2023-6681 changed 2026-11-05 | Public domain |
| PyPA Advisory Database | PYSEC-2024-104 changed 2026-06-10 | CC-BY-4.0 |