CVE-2022-25901Cookiejar Project Cookiejar
High 7.5 No auth needed
Follow: this CVE · Cookiejar Project · Cookiejar Project Cookiejar We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 79
- Auth required
- No
- Published
- Jan 18, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1333
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Cookiejar.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.webjars.npm:cookiejar |
≤ 2.1.3 |
no fixed version | — |
| npm | cookiejar |
< 2.1.4 |
2.1.4 |
npm install cookiejar@2.1.4 |
Per OSV / GitHub Advisories (GHSA-h452-7996-h45h). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| cookiejar_project | cookiejar | ≤ 2.1.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Broken Link
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- lists.debian.org
- security.snyk.io Exploit Third Party Advisory
- security.snyk.io Exploit Third Party Advisory