{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-25901","id":"CVE-2022-25901","title":"cookiejar Regular Expression Denial of Service via Cookie.parse function","description":"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.","descriptionLong":"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:00:01.282Z","updated":"2026-06-17T04:34:28.183Z","reserved":"2022-02-24T11:58:22.541Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P","rating":"medium","source":"snyk"},"metrics":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P","rating":"medium","source":"snyk"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"snyk.io"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","rating":"medium","source":"GitHub"}],"rating":"medium","products":["cookiejar","org.webjars.npm:cookiejar"],"affectedProducts":[{"vendor":"n/a","product":"cookiejar","defaultStatus":null,"versions":[{"version":"0","lessThan":"2.1.4","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"n/a","product":"org.webjars.npm:cookiejar","defaultStatus":null,"versions":[{"version":"0","lessThan":"*","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"cookiejar","purl":"pkg:npm/cookiejar","ranges":["<2.1.4"],"fixed":["2.1.4"],"advisory":"GHSA-h452-7996-h45h"},{"ecosystem":"Maven","name":"org.webjars.npm:cookiejar","purl":"pkg:maven/org.webjars.npm/cookiejar","ranges":["<=2.1.3"],"fixed":[],"advisory":"GHSA-h452-7996-h45h"}],"cwes":["CWE-1333"],"aliases":["GHSA-h452-7996-h45h"],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-COOKIEJAR-3149984","tags":["x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3176681","tags":["x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://github.com/bmeck/node-cookiejar/blob/master/cookiejar.js%23L73","tags":["x_transferred","Broken Link","web"]},{"url":"https://github.com/bmeck/node-cookiejar/pull/39","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/bmeck/node-cookiejar/pull/39/commits/eaa00021caf6ae09449dde826108153b578348e5","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00008.html","tags":["x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25901","tags":["advisory"]},{"url":"https://github.com/bmeck/node-cookiejar","tags":["package"]},{"url":"https://github.com/bmeck/node-cookiejar/blob/master/cookiejar.js#23L73","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.0165,"epssPercentile":0.77007,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-25901","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25901","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-25901","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-h452-7996-h45h","ok":true,"note":"GHSA-h452-7996-h45h"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-25901","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}