{"id":"GHSA-2c7c-3mj9-8fqh","revision":"702df62b87bd432ca6f86ae409ec88a3","records":[{"revision":"702df62b87bd432ca6f86ae409ec88a3","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-2c7c-3mj9-8fqh","aliases":["GO-2023-2334"],"title":"Decryption of malicious PBES2 JWE objects can consume unbounded system resources","description":"The go-jose package is subject to a \"billion hashes attack\" causing denial-of-service when decrypting JWE inputs. This occurs when an attacker can provide a PBES2 encrypted JWE blob with a very large p2c value that, when decrypted, produces a denial-of-service.","state":0,"publishedAt":"2023-11-21T22:17:19+00:00","modifiedAt":"2026-09-10T03:49:58.7199419+00:00","affected":[{"ecosystem":"Go","name":"github.com/go-jose/go-jose/v3","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"3.0.1"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"github.com/square/go-jose","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.6.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/go-jose/go-jose/issues/64","https://github.com/go-jose/go-jose/commit/65351c27657d58960c2e6c9fbb2b00f818e50568","https://github.com/go-jose/go-jose/commit/a3d307244c3bc50b25a71aa0688764c32ec419c7","https://github.com/go-jose/go-jose"],"sourceUrl":"https://github.com/advisories/GHSA-2c7c-3mj9-8fqh","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-2c7c-3mj9-8fqh","identifiers":["GHSA-2c7c-3mj9-8fqh","GO-2023-2334"]},"retained":false,"historicalAffected":[]}],"coverage":[]}