{"id":"EUVD-2023-3143","enisaUuid":"c3e080e0-5297-36c2-8397-d0cce557bc1d","description":"lestrrat-go/jwx is a Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies. A p2c parameter set too high in JWE\u0027s algorithm PBES2-* could lead to a denial of service. 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 denial of service. This vulnerability has been addressed in commit `64f2a229b` which has been included in release version 1.2.27 and 2.0.18. Users are advised to upgrade. There are no known workarounds for this vulnerability.","datePublished":"Dec 4, 2023, 11:42:53 PM","dateUpdated":"May 29, 2025, 1:39:54 PM","baseScore":5.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","references":"https://github.com/lestrrat-go/jwx/security/advisories/GHSA-7f9x-gw85-8grf\nhttps://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c\n","aliases":"CVE-2023-49290\nGHSA-7f9x-gw85-8grf\n","assigner":"GitHub_M","epss":0.73,"enisaIdProduct":[{"id":"22c6362a-7a0d-393c-a207-e724efc69000","product":{"name":"jwx","vendor":{"name":"lestrrat-go"}},"product_version":"\u003c 1.2.27"},{"id":"d2b0ad09-88e3-3209-b216-c941f3ffd485","product":{"name":"jwx","vendor":{"name":"lestrrat-go"}},"product_version":"2.0.0, \u003c 2.0.18"}],"enisaIdVendor":[{"id":"3b3f4e74-412f-3075-8a0f-832706090703","vendor":{"name":"lestrrat-go"}}],"enisaIdVulnerability":[{"id":"1d2b7dee-52c4-3e9d-a296-f2327ac76dfa","vulnerability":{"id":"CVE-2023-49290","description":"lestrrat-go/jwx is a Go module implementing various JWx (JWA/JWE/JWK/JWS/JWT, otherwise known as JOSE) technologies. A p2c parameter set too high in JWE\u0027s algorithm PBES2-* could lead to a denial of service. 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 denial of service. This vulnerability has been addressed in commit `64f2a229b` which has been included in release version 1.2.27 and 2.0.18. Users are advised to upgrade. There are no known workarounds for this vulnerability.","datePublished":"Dec 4, 2023, 11:42:53 PM","dateUpdated":"May 29, 2025, 1:39:54 PM","status":"PUBLISHED","baseScore":5.3,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","references":"https://github.com/lestrrat-go/jwx/security/advisories/GHSA-7f9x-gw85-8grf\nhttps://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c\n","enisa_id":"EUVD-2023-3143\n","assigner":"GitHub_M","epss":0.73,"dataProcessed":"Nov 15, 2026, 1:36:05 AM","vulnerabilityProduct":[{"id":"40b93a86-0aae-3519-ad6f-6a82cce1ff19","product":{"name":"jwx","vendor":{"name":"lestrrat-go"}},"product_version":"2.0.0, \u003c 2.0.18"},{"id":"876341c0-6c64-3c92-b8f9-1b955002217d","product":{"name":"jwx","vendor":{"name":"lestrrat-go"}},"product_version":"\u003c 1.2.27"}],"vulnerabilityVendor":[{"id":"b38c83d1-f0a2-3001-acc2-f1106ec98364","vendor":{"name":"lestrrat-go"}}]}},{"id":"215754a1-32a9-3fce-9734-a490bfd664fd","vulnerability":{"id":"GHSA-7f9x-gw85-8grf","description":"lestrrat-go/jwx\u0027s malicious parameters in JWE can cause a DOS","datePublished":"Dec 5, 2023, 11:29:26 PM","dateUpdated":"Dec 5, 2023, 11:29:26 PM","baseScore":null,"references":"https://github.com/lestrrat-go/jwx/security/advisories/GHSA-7f9x-gw85-8grf\nhttps://nvd.nist.gov/vuln/detail/CVE-2023-49290\nhttps://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c\nhttps://github.com/lestrrat-go/jwx\n","enisa_id":"EUVD-2023-3143\n","aliases":"GHSA-7f9x-gw85-8grf\nCVE-2023-49290\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:34:37 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}