{"id":"CVE-2022-25901","aliases":["GHSA-h452-7996-h45h"],"url":"https://o3.security/vulnerability/CVE-2022-25901","summary":"cookiejar Regular Expression Denial of Service via Cookie.parse function","details":"Versions of the package cookiejar before 2.1.4 are vulnerable to Regular Expression Denial of Service (ReDoS) via the Cookie.parse function, which uses an insecure regular expression.","published":"2023-01-18T05:15:11.860Z","modified":"2026-03-14T11:29:24.428543Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":2,"affectedPackages":[{"ecosystem":"Maven","name":"org.webjars.npm:cookiejar","fixedVersion":null},{"ecosystem":"npm","name":"cookiejar","fixedVersion":"2.1.4"}],"fix":{"url":"https://github.com/bmeck/node-cookiejar/pull/39","label":"bmeck/node-cookiejar#39"},"references":[{"type":"WEB","url":"https://github.com/bmeck/node-cookiejar/blob/master/cookiejar.js%23L73"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00008.html"},{"type":"FIX","url":"https://github.com/bmeck/node-cookiejar/pull/39"},{"type":"FIX","url":"https://github.com/bmeck/node-cookiejar/pull/39/commits/eaa00021caf6ae09449dde826108153b578348e5"},{"type":"EVIDENCE","url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3176681"},{"type":"EVIDENCE","url":"https://security.snyk.io/vuln/SNYK-JS-COOKIEJAR-3149984"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-03-14T11:29:24.428543Z"}}