CVEvulnerability
CVE-2022-25901
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2023-01-18
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-1333
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.
Affected configurations
• cookiejar project cookiejar (<= 2.1.3)
Related
Weakness · CWE (1)
- CWE-1333 Inefficient Regular Expression Complexity weakness
References
- https://github.com/bmeck/node-cookiejar/blob/master/cookiejar.js%23L73 Broken Link
- https://github.com/bmeck/node-cookiejar/pull/39 Patch, Third Party Advisory
- https://github.com/bmeck/node-cookiejar/pull/39/commits/eaa00021caf6ae09449dde826108153b578348e5 Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/09/msg00008.html lists.debian.org
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3176681 Exploit, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-COOKIEJAR-3149984 Exploit, Third Party Advisory
- https://github.com/bmeck/node-cookiejar/blob/master/cookiejar.js%23L73 Broken Link
- https://github.com/bmeck/node-cookiejar/pull/39 Patch, Third Party Advisory
- https://github.com/bmeck/node-cookiejar/pull/39/commits/eaa00021caf6ae09449dde826108153b578348e5 Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/09/msg00008.html lists.debian.org
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3176681 Exploit, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-COOKIEJAR-3149984 Exploit, Third Party Advisory