CVE-2022-25901
HIGHCVSS 7.5/10EPSS 1.55%
Last modified
CVE-2022-25901 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 1.55% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Cookiejar Project | Cookiejar | <= 2.1.3 |
References
- https://github.com/bmeck/node-cookiejar/pull/39Patch, Third Party Advisory
- https://github.com/bmeck/node-cookiejar/pull/39/commits/eaa00021caf6ae09449dde826108153b578348e5Patch, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3176681Exploit, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-COOKIEJAR-3149984Exploit, Third Party Advisory
- https://github.com/bmeck/node-cookiejar/pull/39Patch, Third Party Advisory
- https://github.com/bmeck/node-cookiejar/pull/39/commits/eaa00021caf6ae09449dde826108153b578348e5Patch, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-3176681Exploit, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-COOKIEJAR-3149984Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-25901?
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.
How severe is CVE-2022-25901?
CVE-2022-25901 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 1.55% probability of exploitation in the next 30 days.
How do I fix CVE-2022-25901?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-25896This affects the package passport before 0.6.0. When a user …4.8
- CVE-2022-25897The package org.eclipse.milo:sdk-server before 0.6.8 are vul…7.5
- CVE-2022-25898The package jsrsasign before 10.5.25 are vulnerable to Impro…9.8
- CVE-2022-25899Authentication bypass for the Open AMT Cloud Toolkit softwar…9.8
- CVE-2022-2590A race condition was found in the way the Linux kernel's mem…7
- CVE-2022-25900All versions of package git-clone are vulnerable to Command …9.8
- CVE-2022-25903The package opcua from 0.0.0 are vulnerable to Denial of Ser…7.5
- CVE-2022-25904All versions of package safe-eval are vulnerable to Prototyp…9.8
- CVE-2022-25905Uncontrolled search path element in the Intel(R) oneAPI Data…7.3
- CVE-2022-25906All versions of the package is-http2 are vulnerable to Comma…7.8
- CVE-2022-25907The package ts-deepmerge before 2.0.2 are vulnerable to Prot…9.8
- CVE-2022-25908All versions of the package create-choo-electron are vulnera…9.8
Are you affected by CVE-2022-25901?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
