{"id":"GO-2023-2379","revision":"50483540eba946b1bc03298be184a375","records":[{"revision":"50483540eba946b1bc03298be184a375","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2023-2379","aliases":["CVE-2023-49290","GHSA-7f9x-gw85-8grf"],"title":"Denial of service due to malicious parameters in github.com/lestrrat-go/jwx","description":"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 purpose is to intentionally slow down the key derivation function, making password brute-force and dictionary attacks more resource-intensive. However, if an attacker sets the p2c parameter in JWE to a very large number, it can cause excessive computational consumption.","state":0,"publishedAt":"2023-12-11T15:08:59+00:00","modifiedAt":"2026-02-04T02:20:17.017357+00:00","affected":[{"ecosystem":"Go","name":"github.com/lestrrat-go/jwx","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.2.27"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/lestrrat-go/jwx/v2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.0.18"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/lestrrat-go/jwx/security/advisories/GHSA-7f9x-gw85-8grf","https://github.com/lestrrat-go/jwx/commit/64f2a229b8e18605f47361d292b526bdc4aee01c"],"sourceUrl":"https://osv.dev/vulnerability/GO-2023-2379","license":"OSV · upstream source license applies","key":"osv:GO-2023-2379","identifiers":["GO-2023-2379","CVE-2023-49290","GHSA-7f9x-gw85-8grf"]},"retained":false,"historicalAffected":[]}],"coverage":[]}