Regular expression denial of service in cookiejar
Priority HIGH 66CWE-1333Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1333.
Summary
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.
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0159 75th percentileScored 2026-11-07
Fix Partial cookiejar: 2.1.4cookiejar (npm): 2.1.4Red Hat: 2 without a fix
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | cookiejar | before 2.1.4 | 2.1.4 | Patch available | CNA |
| — | org.webjars.npm:cookiejar | all versions | — | No fix listed | CNA |
| — | cookiejar (npm) | before 2.1.4 | 2.1.4 | Patch available | GHSA-h452-7996-h45h |
| — | org.webjars.npm:cookiejar (Maven) | up to 2.1.3 | — | No fix listed | GHSA-h452-7996-h45h |
- cookiejar Vendor— Affected before 2.1.4 Fixed in 2.1.4 Patch available CNA
- org.webjars.npm:cookiejar Vendor— Affected all versions Fixed in — No fix listed CNA
- cookiejar (npm) Vendor— Affected before 2.1.4 Fixed in 2.1.4 Patch available GHSA-h452-7996-h45h
- org.webjars.npm:cookiejar (Maven) Vendor— Affected up to 2.1.3 Fixed in — No fix listed GHSA-h452-7996-h45h
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:cookiejar_project:cookiejar:*:*:*:*:*:node.js:*:* | up to 2.1.3 | Vulnerable | Cookiejar Project |
- cpe:2.3:a:cookiejar_project:cookiejar:*:*:*:*:*:node.js:*:* Versions up to 2.1.3 Vulnerable ·Cookiejar Project
Remediation
- Fix · CNA cookiejar Fixed in 2.1.4
- Fix · GHSA-h452-7996-h45h cookiejar (npm) Fixed in 2.1.4 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Advanced Cluster Management for Kubernetes 2 | Affected | No fix yet |
| Red Hat OpenShift GitOps | Affected | No fix yet |
Not affected: 4 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2022-25901
- 2026-10-03 Alias added: GHSA-h452-7996-h45h
References
Patch 2
Sources
- CVE-2022-25901 · CVE Program
- CVE-2022-25901 · NVD
- FIRST EPSS
- GHSA-h452-7996-h45h · GitHub Advisory Database · CC BY 4.0
- CVE-2022-25901 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences