Security mailing lists by PureSourceCode

CVE-2022-25901

HIGH 7.5CVSS 3.1

cookiejar Regular Expression Denial of Service via Cookie.parse function

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.

Published
18 Jan 2023
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-1333
Also known as
GHSA-h452-7996-h45h
Sources
NVDJSONOSV GHSA-h452-7996-h45hJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD report@snyk.io (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD cookiejar_project cookiejar
cpe:2.3:a:cookiejar_project:cookiejar:*:*:*:*:*:node.js:*:*
<= 2.1.3
OSV npm cookiejar < 2.1.4 2.1.4
OSV Maven org.webjars.npm:cookiejar <= 2.1.3

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 18 Jan 2023)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Jan 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.