Back
CVE-2022-25901
Versions of the package cookiejar before 2.1.4 are vulnerable to Regular Expression Denial of Service (ReDoS) via the Cookie.parse…
Medium5.3EPSS 1.6%
- Published
- Updated
- Reserved
- Assigned by
- snyk
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| snykCNA (assigner) | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P |
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 1.6% · top 24% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Weakness
Affected products
cookiejar
- affected < 2.1.4
org.webjars.npm:cookiejar
- affected < *
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.webjars.npm:cookiejarGHSA-h452-7996-h45h (opens in a new tab)
- npmcookiejarGHSA-h452-7996-h45h (opens in a new tab)
References (6)
- https://security.snyk.io/vuln/SNYK-JS-COOKIEJAR-3149984 (opens in a new tab)x_transferred
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3176681 (opens in a new tab)x_transferred
- https://github.com/bmeck/node-cookiejar/blob/master/cookiejar.js%23L73 (opens in a new tab)x_transferred
- https://github.com/bmeck/node-cookiejar/pull/39 (opens in a new tab)x_transferred
- https://github.com/bmeck/node-cookiejar/pull/39/commits/eaa00021caf6ae09449dde826108153b578348e5 (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2023/09/msg00008.html (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-h452-7996-h45h (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-25901)Record last updated .