Bug 2260843 (CVE-2023-6681) - CVE-2023-6681 JWCrypto: denail of service Via specifically crafted JWE
Summary: CVE-2023-6681 JWCrypto: denail of service Via specifically crafted JWE
Keywords:
Status: NEW
Alias: CVE-2023-6681
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2263861 2263862
Blocks: 2260847
TreeView+ depends on / blocked
 
Reported: 2024-01-29 11:11 UTC by Rohit Keshri
Modified: 2025-04-01 08:28 UTC (History)
13 users (show)

Fixed In Version: jwcrypto 1.5.1
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2024:3267 0 None None None 2024-05-22 11:40:47 UTC
Red Hat Product Errata RHSA-2024:9281 0 None None None 2024-11-12 09:10:45 UTC

Description Rohit Keshri 2024-01-29 11:11:13 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

Comment 3 Guilherme de Almeida Suckevicz 2024-02-12 13:20:28 UTC
Created python-jwcrypto tracking bugs for this issue:

Affects: fedora-38 [bug 2263861]
Affects: fedora-39 [bug 2263862]

Comment 4 errata-xmlrpc 2024-05-22 11:40:45 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:3267 https://access.redhat.com/errata/RHSA-2024:3267

Comment 5 errata-xmlrpc 2024-11-12 09:10:43 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:9281 https://access.redhat.com/errata/RHSA-2024:9281


Note You need to log in before you can comment on or make changes to this bug.