CVE-2023-6681
JSON

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 packageVersionsReported by
idm:clientNot specified
Not affected: from 8100020240417004735.143e9e98 before *
CVE List
idm:DL1Not specified
Not affected: from 8100020240416171943.823393f5 before *
CVE List
python-jwcryptoNot specified
Not affected: from 0:1.5.6-2.el9 before *
CVE List
automation-controllerNot specifiedCVE List
jwcrypto (PyPI)before 1.5.1GitHub Advisory Database, PyPA Advisory Database
latchset jwcryptobefore 1.5.1NVD
fedoraproject fedora38, 39NVD
redhat enterprise_linux8.0, 9.0NVD
redhat enterprise_linux_for_arm_648.0NVD
redhat enterprise_linux_for_ibm_z_systems8.0NVD
redhat enterprise_linux_for_power_little_endian8.0NVD

All scores

redhat5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHub5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
PyPA Advisory Database5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Classification

CWE-400

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

Sources

SourceRecordLicence
CVE ListCVE-2023-6681 changed 2026-11-05CVE Terms of Use
GitHub Advisory DatabaseGHSA-cw2r-4p82-qv79 changed 2024-11-12CC-BY-4.0
NVDCVE-2023-6681 changed 2026-11-05Public domain
PyPA Advisory DatabasePYSEC-2024-104 changed 2026-06-10CC-BY-4.0