{"id":"CVE-2022-25901","state":"PUBLISHED","title":"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 expressi","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.","publishedAt":"2023-01-18T05:00:01.282Z","updatedAt":"2025-04-03T19:33:00.360Z","severity":{"score":5.3,"label":"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","source":"snyk"},"assigner":"snyk","products":["n/a cookiejar","n/a org.webjars.npm:cookiejar"],"affected":[{"vendor":"n/a","product":"cookiejar","versions":[{"version":"0","status":"affected","lessThan":"2.1.4","versionType":"semver"}]},{"vendor":"n/a","product":"org.webjars.npm:cookiejar","versions":[{"version":"0","status":"affected","lessThan":"*","versionType":"semver"}]}],"references":["https://security.snyk.io/vuln/SNYK-JS-COOKIEJAR-3149984","https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3176681","https://github.com/bmeck/node-cookiejar/blob/master/cookiejar.js%23L73","https://github.com/bmeck/node-cookiejar/pull/39","https://github.com/bmeck/node-cookiejar/pull/39/commits/eaa00021caf6ae09449dde826108153b578348e5","https://lists.debian.org/debian-lts-announce/2023/09/msg00008.html"],"weaknesses":["CWE-1333"],"ingestedAt":"2026-10-29T19:49:46.971Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/25xxx/CVE-2022-25901.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-25901","state":"PUBLISHED","datePublished":"2023-01-18T05:00:01.282Z","dateUpdated":"2025-04-03T19:33:00.360Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2022-02-24T11:58:22.541Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"cookiejar","versions":[{"version":"0","status":"affected","lessThan":"2.1.4","versionType":"semver"}]},{"vendor":"n/a","product":"org.webjars.npm:cookiejar","versions":[{"version":"0","status":"affected","lessThan":"*","versionType":"semver"}]}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-COOKIEJAR-3149984"},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3176681"},{"url":"https://github.com/bmeck/node-cookiejar/blob/master/cookiejar.js%23L73"},{"url":"https://github.com/bmeck/node-cookiejar/pull/39"},{"url":"https://github.com/bmeck/node-cookiejar/pull/39/commits/eaa00021caf6ae09449dde826108153b578348e5"},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00008.html"}],"metrics":[{"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1333","description":"Regular Expression Denial of Service (ReDoS)","lang":"en"}]}],"providerMetadata":{"shortName":"snyk","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateUpdated":"2023-09-12T02:06:12.625Z"},"credits":[{"value":"Carter Snook","lang":"en"}]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-COOKIEJAR-3149984","tags":["x_transferred"]},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3176681","tags":["x_transferred"]},{"url":"https://github.com/bmeck/node-cookiejar/blob/master/cookiejar.js%23L73","tags":["x_transferred"]},{"url":"https://github.com/bmeck/node-cookiejar/pull/39","tags":["x_transferred"]},{"url":"https://github.com/bmeck/node-cookiejar/pull/39/commits/eaa00021caf6ae09449dde826108153b578348e5","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00008.html","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T04:49:44.454Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-02T16:25:17.757427Z","id":"CVE-2022-25901","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-03T19:33:00.360Z"}}]}}}