CVE catalog

CVE-2022-25901

node-cookiejar: CVE-2022-25901

[CVE catalog]

Severity
High · CVSS 7.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debiannode-cookiejarsid2.1.4+~2.1.5-1fixed
Debiannode-cookiejarforky2.1.4+~2.1.5-1fixed
Debiannode-cookiejartrixie2.1.4+~2.1.2-1fixed
Debiannode-cookiejarbookworm2.1.4+~2.1.2-1fixed
NpmcookiejarNot reported2.1.4fixed
Mavenorg.webjars.npm:cookiejarNot reportedNot reportedunknown

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-cookiejarsourcesid2.1.4+~2.1.2-1not yet assignedNot reportedNot reported
Debiannode-cookiejarsourceforky2.1.4+~2.1.2-1not yet assignedNot reportedNot reported
Debiannode-cookiejarsourcetrixie2.1.4+~2.1.2-1not yet assignedNot reportedNot reported
Debiannode-cookiejarsourcebookworm2.1.4+~2.1.2-1not yet assignedNot reportedNot reported
NpmcookiejarnpmNot reported2.1.4Not reportedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 2.1.4+~2.1.2-1 · all · bookworm

      Fixed · Fixed: 2.1.4+~2.1.2-1

      dsa · node-cookiejar · debian · bookworm

    • 2.1.4+~2.1.2-1 · all · bookworm

      Fixed · Fixed: 2.1.4+~2.1.2-1

      dsa · node-cookiejar · debian · bookworm

Observed:

References