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…
- 5.3MediumCVSS base score
- 1.6%Exploitation in 30 daysEPSS · top 24% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. CISA's SSVC rates its exploitation: a proof of concept is public.
Timeline
ID reserved
By snyk
- 11 months later
· 11 months later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
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 (12 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
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
References6
- 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)
- EUVD EUVD-2023-0478 (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://cveledger.app/cve/CVE-2022-25901)Record last updated .