Open mend-bolt-for-github[bot] opened 1 year ago
simple persistent cookiejar system
Library home page: https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.2.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/cookiejar/package.json
Dependency Hierarchy: - supertest-6.0.1.tgz (Root Library) - superagent-6.1.0.tgz - :x: **cookiejar-2.1.2.tgz** (Vulnerable Library)
Found in HEAD commit: 797a6cdc19b4e999d2f8fcc15cea4b7c6b0fc2e6
Found in base branch: main
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.
Publish Date: 2023-01-18
URL: CVE-2022-25901
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
Type: Upgrade version
Release Date: 2023-01-18
Fix Resolution (cookiejar): 2.1.4
Direct dependency fix Resolution (supertest): 6.1.0
Step up your Open Source Security Game with Mend here
CVE-2022-25901 - High Severity Vulnerability
Vulnerable Library - cookiejar-2.1.2.tgz
simple persistent cookiejar system
Library home page: https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.2.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/cookiejar/package.json
Dependency Hierarchy: - supertest-6.0.1.tgz (Root Library) - superagent-6.1.0.tgz - :x: **cookiejar-2.1.2.tgz** (Vulnerable Library)
Found in HEAD commit: 797a6cdc19b4e999d2f8fcc15cea4b7c6b0fc2e6
Found in base branch: main
Vulnerability Details
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.
Publish Date: 2023-01-18
URL: CVE-2022-25901
CVSS 3 Score Details (7.5)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Release Date: 2023-01-18
Fix Resolution (cookiejar): 2.1.4
Direct dependency fix Resolution (supertest): 6.1.0
Step up your Open Source Security Game with Mend here