Read the docs
TI-2022-09457 Aliases CVE-2022-25901GHSA-h452-7996-h45h

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

VendorProductAffected versionsFixed inStatusSource
—cookiejarbefore 2.1.42.1.4Patch availableCNA
—org.webjars.npm:cookiejarall versions—No fix listedCNA
—cookiejar (npm)before 2.1.42.1.4Patch availableGHSA-h452-7996-h45h
—org.webjars.npm:cookiejar (Maven)up to 2.1.3—No fix listedGHSA-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

CPEVersionsRoleVendor
cpe:2.3:a:cookiejar_project:cookiejar:*:*:*:*:*:node.js:*:*up to 2.1.3VulnerableCookiejar 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 →

ProductStatusPlan or fix
Red Hat Advanced Cluster Management for Kubernetes 2AffectedNo fix yet
Red Hat OpenShift GitOpsAffectedNo 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

  1. 2026-10-02 Threatist record created from CVE-2022-25901
  2. 2026-10-03 Alias added: GHSA-h452-7996-h45h

References

Sources