
CVE catalog
CVE-2022-25901
node-cookiejar: CVE-2022-25901
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.55% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-cookiejar | sid | 2.1.4+~2.1.5-1 | fixed |
| Debian | node-cookiejar | forky | 2.1.4+~2.1.5-1 | fixed |
| Debian | node-cookiejar | trixie | 2.1.4+~2.1.2-1 | fixed |
| Debian | node-cookiejar | bookworm | 2.1.4+~2.1.2-1 | fixed |
| Npm | cookiejar | Not reported | 2.1.4 | fixed |
| Maven | org.webjars.npm:cookiejar | Not reported | Not reported | unknown |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-cookiejar | source | sid | 2.1.4+~2.1.2-1 | not yet assigned | Not reported | Not reported |
| Debian | node-cookiejar | source | forky | 2.1.4+~2.1.2-1 | not yet assigned | Not reported | Not reported |
| Debian | node-cookiejar | source | trixie | 2.1.4+~2.1.2-1 | not yet assigned | Not reported | Not reported |
| Debian | node-cookiejar | source | bookworm | 2.1.4+~2.1.2-1 | not yet assigned | Not reported | Not reported |
| Npm | cookiejar | npm | Not reported | 2.1.4 | Not reported | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-cookiejar]Fixed
Details (2)
2.1.4+~2.1.2-1· all · bookwormFixed · Fixed:
2.1.4+~2.1.2-1dsa · node-cookiejar · debian · bookworm
2.1.4+~2.1.2-1· all · bookwormFixed · Fixed:
2.1.4+~2.1.2-1dsa · node-cookiejar · debian · bookworm
Observed:
References
- [https://osv.dev/vulnerability/DLA-3561-1]
- [https://osv.dev/vulnerability/GHSA-h452-7996-h45h]
- [https://security-tracker.debian.org/tracker/CVE-2022-25901]
- [https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-25901.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-0809.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]