opensearch-project / skills-eval

Eval framework for evaluating quality and performance of skills for ml-common's agent framework
Apache License 2.0
1 stars 7 forks source link

promptfoo-0.31.2.tgz: 2 vulnerabilities (highest severity is: 9.1) - autoclosed #20

Closed mend-for-github-com[bot] closed 4 months ago

mend-for-github-com[bot] commented 8 months ago
Vulnerable Library - promptfoo-0.31.2.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/ip/package.json

Found in HEAD commit: 3451649bf624f0b8b92a9b75009c77beb787a890

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (promptfoo version) Remediation Possible**
CVE-2024-29415 Critical 9.1 detected in multiple dependencies Transitive N/A*
CVE-2024-39249 Medium 6.5 detected in multiple dependencies Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2024-29415 ### Vulnerable Libraries - ip-2.0.1.tgz, ip-1.1.9.tgz

### ip-2.0.1.tgz

Library home page: https://registry.npmjs.org/ip/-/ip-2.0.1.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/socks/node_modules/ip/package.json

Dependency Hierarchy: - promptfoo-0.31.2.tgz (Root Library) - proxy-agent-6.3.1.tgz - socks-proxy-agent-8.0.2.tgz - socks-2.7.1.tgz - :x: **ip-2.0.1.tgz** (Vulnerable Library) ### ip-1.1.9.tgz

Library home page: https://registry.npmjs.org/ip/-/ip-1.1.9.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/ip/package.json

Dependency Hierarchy: - promptfoo-0.31.2.tgz (Root Library) - proxy-agent-6.3.1.tgz - pac-proxy-agent-7.0.1.tgz - pac-resolver-7.0.0.tgz - :x: **ip-1.1.9.tgz** (Vulnerable Library)

Found in HEAD commit: 3451649bf624f0b8b92a9b75009c77beb787a890

Found in base branch: main

### Vulnerability Details

The ip package through 2.0.1 for Node.js might allow SSRF because some IP addresses (such as 127.1, 01200034567, 012.1.2.3, 000:0:0000::01, and ::fFFf:127.0.0.1) are improperly categorized as globally routable via isPublic. NOTE: this issue exists because of an incomplete fix for CVE-2023-42282.

Publish Date: 2024-05-27

URL: CVE-2024-29415

### CVSS 3 Score Details (9.1)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: None

For more information on CVSS3 Scores, click here.

CVE-2024-39249 ### Vulnerable Libraries - async-3.2.3.tgz, async-3.2.4.tgz

### async-3.2.3.tgz

Higher-order functions and common patterns for asynchronous code

Library home page: https://registry.npmjs.org/async/-/async-3.2.3.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/cache-manager/node_modules/async/package.json

Dependency Hierarchy: - promptfoo-0.31.2.tgz (Root Library) - cache-manager-4.1.0.tgz - :x: **async-3.2.3.tgz** (Vulnerable Library) ### async-3.2.4.tgz

Higher-order functions and common patterns for asynchronous code

Library home page: https://registry.npmjs.org/async/-/async-3.2.4.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/async/package.json

Dependency Hierarchy: - promptfoo-0.31.2.tgz (Root Library) - :x: **async-3.2.4.tgz** (Vulnerable Library)

Found in HEAD commit: 3451649bf624f0b8b92a9b75009c77beb787a890

Found in base branch: main

### Vulnerability Details

Async <= 2.6.4 and <= 3.2.5 are vulnerable to ReDoS (Regular Expression Denial of Service) while parsing function in autoinject function.

Publish Date: 2024-07-01

URL: CVE-2024-39249

### CVSS 3 Score Details (6.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High

For more information on CVSS3 Scores, click here.

mend-for-github-com[bot] commented 8 months ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

mend-for-github-com[bot] commented 5 months ago

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.

dblock commented 4 months ago

Catch All Triage - 1 2 3 4 5

mend-for-github-com[bot] commented 4 months ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.