{"id":"CVE-2022-25901","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.","aliases":["GHSA-h452-7996-h45h"],"modified":"2026-03-14T11:29:24.428543Z","published":"2023-01-18T05:15:11.860Z","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"}],"affected":[{"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25901.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"2.1.3"}]},{"events":[{"introduced":"0"},{"fixed":"2.1.4"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}