{"api_version":"1","generated_at":"2026-07-23T10:28:47+00:00","cve":"CVE-2022-25901","urls":{"html":"https://cve.report/CVE-2022-25901","api":"https://cve.report/api/cve/CVE-2022-25901.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-25901","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-25901"},"summary":{"title":"CVE-2022-25901","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.","state":"PUBLIC","assigner":"report@snyk.io","published_at":"2023-01-18 05:15:00","updated_at":"2023-11-07 03:44:00"},"problem_types":["CWE-1333"],"metrics":[],"references":[{"url":"https://github.com/bmeck/node-cookiejar/pull/39/commits/eaa00021caf6ae09449dde826108153b578348e5","name":"https://github.com/bmeck/node-cookiejar/pull/39/commits/eaa00021caf6ae09449dde826108153b578348e5","refsource":"MISC","tags":[],"title":"fix: add a guard against maliciously-sized cookies by andyburke · Pull Request #39 · bmeck/node-cookiejar · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/bmeck/node-cookiejar/pull/39","name":"https://github.com/bmeck/node-cookiejar/pull/39","refsource":"MISC","tags":[],"title":"fix: add a guard against maliciously-sized cookies by andyburke · Pull Request #39 · bmeck/node-cookiejar · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00008.html","name":"https://lists.debian.org/debian-lts-announce/2023/09/msg00008.html","refsource":"MISC","tags":[],"title":"[SECURITY] [DLA 3561-1] node-cookiejar security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/bmeck/node-cookiejar/blob/master/cookiejar.js%23L73","name":"https://github.com/bmeck/node-cookiejar/blob/master/cookiejar.js%23L73","refsource":"MISC","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":""},{"url":"https://security.snyk.io/vuln/SNYK-JS-COOKIEJAR-3149984","name":"https://security.snyk.io/vuln/SNYK-JS-COOKIEJAR-3149984","refsource":"MISC","tags":[],"title":"Regular Expression Denial of Service (ReDoS) in cookiejar | CVE-2022-25901 | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3176681","name":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3176681","refsource":"MISC","tags":[],"title":"Regular Expression Denial of Service (ReDoS) in org.webjars.npm:cookiejar | CVE-2022-25901 | Snyk","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/bmeck/node-cookiejar/blob/master/cookiejar.js#L73","name":"MISC:https://github.com/bmeck/node-cookiejar/blob/master/cookiejar.js%23L73","refsource":"MITRE","tags":[],"title":"node-cookiejar/cookiejar.js at master · bmeck/node-cookiejar · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-25901","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25901","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"25901","vulnerable":"1","versionEndIncluding":"2.1.3","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"cookiejar_project","cpe5":"cookiejar","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-25901","qid":"183822","title":"Debian Security Update for node-cookiejar (CVE-2022-25901)"},{"cve":"CVE-2022-25901","qid":"6000158","title":"Debian Security Update for node-cookiejar (DLA 3561-1)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2022-25901","ASSIGNER":"report@snyk.io","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","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.\r\r"}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Regular Expression Denial of Service (ReDoS)","cweId":"CWE-1333"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"cookiejar","version":{"version_data":[{"version_affected":"<","version_name":"0","version_value":"2.1.4"}]}},{"product_name":"org.webjars.npm:cookiejar","version":{"version_data":[{"version_affected":"<","version_name":"0","version_value":"*"}]}}]}}]}},"references":{"reference_data":[{"url":"https://security.snyk.io/vuln/SNYK-JS-COOKIEJAR-3149984","refsource":"MISC","name":"https://security.snyk.io/vuln/SNYK-JS-COOKIEJAR-3149984"},{"url":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3176681","refsource":"MISC","name":"https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3176681"},{"url":"https://github.com/bmeck/node-cookiejar/blob/master/cookiejar.js%23L73","refsource":"MISC","name":"https://github.com/bmeck/node-cookiejar/blob/master/cookiejar.js%23L73"},{"url":"https://github.com/bmeck/node-cookiejar/pull/39","refsource":"MISC","name":"https://github.com/bmeck/node-cookiejar/pull/39"},{"url":"https://github.com/bmeck/node-cookiejar/pull/39/commits/eaa00021caf6ae09449dde826108153b578348e5","refsource":"MISC","name":"https://github.com/bmeck/node-cookiejar/pull/39/commits/eaa00021caf6ae09449dde826108153b578348e5"},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00008.html","refsource":"MISC","name":"https://lists.debian.org/debian-lts-announce/2023/09/msg00008.html"}]},"credits":[{"lang":"en","value":"Carter Snook"}],"impact":{"cvss":[{"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"}]}},"nvd":{"publishedDate":"2023-01-18 05:15:00","lastModifiedDate":"2023-11-07 03:44:00","problem_types":["CWE-1333"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:cookiejar_project:cookiejar:*:*:*:*:*:node.js:*:*","versionEndIncluding":"2.1.3","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}