{"id":"CVE-2022-25901","published":"2023-01-18T05:00:01Z","modified":"2025-04-03T19:33:00Z","title":"Versions of the package cookiejar before 2.1.4 are vulnerable to Regular Expression Denial of Service (ReDoS) via the…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0165,"percentile":0.77112,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-COOKIEJAR-3149984","tags":[]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3176681","tags":[]},{"url":"https://github.com/bmeck/node-cookiejar/blob/master/cookiejar.js%23L73","tags":[]},{"url":"https://github.com/bmeck/node-cookiejar/pull/39","tags":[]},{"url":"https://github.com/bmeck/node-cookiejar/pull/39/commits/eaa00021caf6ae09449dde826108153b578348e5","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00008.html","tags":[]}],"priority":{"score":19.1,"factors":[{"name":"EPSS percentile","points":15.42},{"name":"CVSS severity","points":3.71}]},"affectedVersions":[{"vendor":"n/a","product":"cookiejar","versions":["< 2.1.4"]},{"vendor":"n/a","product":"org.webjars.npm:cookiejar","versions":["all versions"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-02T16:25:17.757427Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"cookiejar","vulnerableRanges":["<2.1.4"],"patched":["2.1.4"],"from":["GHSA-h452-7996-h45h"],"provenance":"source"},{"ecosystem":"Maven","package":"org.webjars.npm:cookiejar","vulnerableRanges":["<=2.1.3"],"patched":[],"from":["GHSA-h452-7996-h45h"],"provenance":"source"}],"summary":{"text":"The cookiejar npm package, versions before 2.1.4, contains a regular expression in its Cookie.parse function that is inefficiently written and so is vulnerable to Regular Expression Denial of Service (ReDoS). An attacker able to send crafted cookie input to an application that parses it with this function can cause excessive processing that degrades availability, requiring no authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:07Z"},"euvd":{"id":"EUVD-2023-0478","exploited":false,"provenance":"source"}}