Live threats

All CVEs / Cookiejar Project

CVE-2022-25901Cookiejar Project Cookiejar

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.8%
probability of exploitation in 30 days · percentile 79
Auth required
No
Published
Jan 18, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1333
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Cookiejar.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.webjars.npm:cookiejar ≤ 2.1.3 no fixed version —
npm cookiejar < 2.1.4 2.1.4 npm install cookiejar@2.1.4

Per OSV / GitHub Advisories (GHSA-h452-7996-h45h). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
cookiejar_projectcookiejar≤ 2.1.3

Official sources

References

Links published by the sources. Open them with care.