Bugzilla – Bug 1219837
VUL-0: CVE-2023-6681: python-jwcrypto: denial of service Via specifically crafted JWE
Last modified: 2024-02-12 14:15:04 UTC
The JWE key management algorithms based on PBKDF2 require a JOSE Header Parameter called p2c (PBES2 Count). This parameter dictates the number of PBKDF2 iterations needed to derive a CEK wrapping key. Its primary purpose is to intentionally slow down the key derivation function, making password brute-force and dictionary attacks more resource- intensive. Therefore, if an attacker sets the p2c parameter in JWE to a very large number, it can cause a lot of computational consumption, resulting in a DOS attack References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-6681 https://bugzilla.redhat.com/show_bug.cgi?id=2260843