~ / search / GHSA-cw2r-4p82-qv79

GHSA-cw2r-4p82-qv79

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

Source: GitHub Advisory Database (reviewed) Moderate CVE-2023-6681

Packages

EcosystemPackageAffectedFixed in
PyPI jwcrypto < 1.5.1 1.5.1

Details

As written in the advisory (Markdown source, shown as plain text).

### 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

References

External links from the advisory. They lead to third-party sites.