{"id":"CVE-2023-6681","aliases":["CVE-2023-6681","GHSA-cw2r-4p82-qv79","PYSEC-2024-104"],"related":[],"kind":"vulnerability","state":"published","title":"Jwcrypto: denail of service  via specifically crafted jwe","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nDenial of Service,\nApplications that allow the use of the PBKDF2 algorithm.\n\n### Patches\nA [patch](https://github.com/latchset/jwcrypto/commit/d2655d370586cb830e49acfb450f87598da60be8) is available that sets the maximum number of default rounds.\n\n### Workarounds\nApplications that do not need to use PBKDF2 should simply specify the algorithms use and exclude it from the list.\nApplications that need to use the algorithm should upgrade to the new version that allows to set a maximum rounds number.\n\n### Acknowledgement\nThe issues was reported by Jingcheng Yang and Jianjun Chen from Sichuan University\nand Zhongguancun Lab","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2023-12-28T16:36:59.000Z","modified":"2026-11-05T12:17:38.110Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"type":"rpm","introduced":"8100020240417004735.143e9e98","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"idm:client","cpe":"cpe:/a:redhat:enterprise_linux:8::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"8100020240416171943.823393f5","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"idm:DL1","cpe":"cpe:/a:redhat:enterprise_linux:8::appstream","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.5.6-2.el9","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"python-jwcrypto","cpe":"cpe:/a:redhat:enterprise_linux:9::appstream","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","package":"automation-controller","cpe":"cpe:/a:redhat:ansible_automation_platform:2","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"python-jwcrypto","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.5.1"}],"ecosystem":"PyPI","package":"jwcrypto","purl":"pkg:pypi/jwcrypto","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.5.1"}],"vendor":"latchset","product":"jwcrypto","cpe":"cpe:2.3:a:latchset:jwcrypto:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"38"},{"status":"affected","version":"39"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.0"},{"status":"affected","version":"9.0"}],"vendor":"redhat","product":"enterprise_linux","cpe":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.0"}],"vendor":"redhat","product":"enterprise_linux_for_arm_64","cpe":"cpe:2.3:o:redhat:enterprise_linux_for_arm_64:8.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.0"}],"vendor":"redhat","product":"enterprise_linux_for_ibm_z_systems","cpe":"cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:8.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.0"}],"vendor":"redhat","product":"enterprise_linux_for_power_little_endian","cpe":"cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:8.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.5.1"}],"ecosystem":"PyPI","package":"jwcrypto","purl":"pkg:pypi/jwcrypto","source":"pysec"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:3267","tags":["advisory","third-party-advisory","vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://access.redhat.com/errata/RHSA-2024:9281","tags":["vendor-advisory","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-6681","tags":["third-party-advisory","vdb-entry","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2260843","tags":["issue-tracking","report","third-party-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/latchset/jwcrypto/security/advisories/GHSA-cw2r-4p82-qv79","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6681","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/latchset/jwcrypto/commit/d2655d370586cb830e49acfb450f87598da60be8","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/latchset/jwcrypto","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/jwcrypto/PYSEC-2024-104.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-cw2r-4p82-qv79","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-02-12T21:27:57.752Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-6681","url":"https://www.cve.org/CVERecord?id=CVE-2023-6681","licence":"CVE Terms of Use","modified":"2026-11-05T11:37:23.620Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cw2r-4p82-qv79","url":"https://github.com/advisories/GHSA-cw2r-4p82-qv79","licence":"CC-BY-4.0","modified":"2024-11-12T19:15:29.552Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-6681","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6681","licence":"Public domain","modified":"2026-11-05T12:17:38.110Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2024-104","url":"https://osv.dev/vulnerability/PYSEC-2024-104","licence":"CC-BY-4.0","modified":"2026-06-10T17:01:21.878Z"}],"updatedAt":"2026-11-25T22:58:32.708Z","epss":{"score":0.00963,"percentile":0.62664,"date":"2026-12-01T12:00:22.000Z"}}