GHSA-cw2r-4p82-qv79

DoS with algorithms that use PBKDF2 due to unbounded PBES2 Count value

At a glance

Published
Updated
CVE
CVE-2023-6681
Aliases
PYSEC-2024-104
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Description

### Impact Denial of Service, Applications that allow the use of the PBKDF2 algorithm. ### Patches A [patch](https://github.com/latchset/jwcrypto/commit/d2655d370586cb830e49acfb450f87598da60be8) 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

Affected packages

PackageVersions
PyPI · jwcryptointroduced 0, fixed 1.5.1

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database