{"cve":"CVE-2022-25901","nvd":{"published":"2023-01-18T05:15:11.860","modified":"2026-06-17T04:34:28.183","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-1333"],"references":["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","https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3176681"],"products":["cookiejar_project:cookiejar"],"source":"nvd","synced_at":"2026-10-19T21:37:34.931465858+00:00"},"epss":{"cve":"CVE-2022-25901","score":0.0159,"percentile":0.75659,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-h452-7996-h45h","url":"https://osv.dev/vulnerability/GHSA-h452-7996-h45h","summary":"cookiejar Regular Expression Denial of Service via Cookie.parse function","modified":"2025-02-13T19:03:25.062781Z","packages":[{"ecosystem":"npm","name":"cookiejar","purl":"pkg:npm/cookiejar","ranges":["<2.1.4"],"fixed":["2.1.4"]},{"ecosystem":"Maven","name":"org.webjars.npm:cookiejar","purl":"pkg:maven/org.webjars.npm/cookiejar","ranges":["<=2.1.3"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}