medium5.3
CVE-2023-6681
DoS with algorithms that use PBKDF2 due to unbounded PBES2 Count value
Impact
### 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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | jwcrypto | < 1.5.1 | 1.5.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Latchset | Jwcrypto | before 1.5.1 |
| Fedoraproject | Fedora | Versions 38, 39 |
| Redhat | Enterprise Linux | Versions 8.0, 9.0 |
| Redhat | Enterprise Linux For Arm 64 | Version 8.0 |
| Redhat | Enterprise Linux For Ibm Z Systems | Version 8.0 |
| Redhat | Enterprise Linux For Power Little Endian | Version 8.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://access.redhat.com/errata/RHSA-2024:3267
- https://access.redhat.com/errata/RHSA-2024:9281
- https://access.redhat.com/security/cve/CVE-2023-6681
- https://bugzilla.redhat.com/show_bug.cgi?id=2260843
- https://github.com/advisories/GHSA-cw2r-4p82-qv79
- https://github.com/latchset/jwcrypto/security/advisories/GHSA-cw2r-4p82-qv79
- https://github.com/latchset/jwcrypto/commit/d2655d370586cb830e49acfb450f87598da60be8
- https://nvd.nist.gov/vuln/detail/CVE-2023-6681
- https://github.com/pypa/advisory-database/tree/main/vulns/jwcrypto/PYSEC-2024-104.yaml