CVE-2022-25901

cookiejar: Regular Expression Denial of Service (ReDoS)

Published Jan 18, 2023 CVSS 3.1 · 5.3 Medium EPSS 1.6% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-3561-1 node-cookiejar security update
EUVD EUVD EUVD-2023-0478 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.
Github GHSA Github GHSA GHSA-h452-7996-h45h cookiejar Regular Expression Denial of Service via Cookie.parse function
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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. 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.
Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Apr 3, 2025, 7:33 PM
Reserved
Feb 24, 2022, 11:58 AM
Status
Modified
Published
Jan 18, 2023, 5:15 AM
Modified
Jun 17, 2026, 4:34 AM
Severity
Moderate
Public date
Jan 18, 2023, 12:00 AM