Nat-Amato / -SaA-Vtuber-AI

GNU General Public License v3.0
0 stars 0 forks source link

openai-whisper-20230306.tar.gz: 4 vulnerabilities (highest severity is: 8.8) #2

Open mend-bolt-for-github[bot] opened 1 year ago

mend-bolt-for-github[bot] commented 1 year ago
Vulnerable Library - openai-whisper-20230306.tar.gz

Path to dependency file: /text-generation-webui/extensions/whisper_stt/requirements.txt

Path to vulnerable library: /text-generation-webui/extensions/whisper_stt/requirements.txt

Found in HEAD commit: b4f3ee53e899528649bc46f5e05d15d3fb854053

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (openai-whisper version) Remediation Possible**
CVE-2023-6730 High 8.8 transformers-4.28.1-py3-none-any.whl Transitive 20230307
CVE-2023-7018 High 7.8 transformers-4.28.1-py3-none-any.whl Transitive 20230307
CVE-2023-2800 Medium 4.7 transformers-4.28.1-py3-none-any.whl Transitive 20230307
CVE-2024-3568 Low 3.4 transformers-4.28.1-py3-none-any.whl Transitive 20230307

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

Details

CVE-2023-6730 ### Vulnerable Library - transformers-4.28.1-py3-none-any.whl

State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow

Library home page: https://files.pythonhosted.org/packages/d8/a7/a6ff727fd5d96d6625f4658944a2ae230f0c75743a9a117fbda013b03d3d/transformers-4.28.1-py3-none-any.whl

Path to dependency file: /text-generation-webui/extensions/whisper_stt/requirements.txt

Path to vulnerable library: /text-generation-webui/extensions/whisper_stt/requirements.txt

Dependency Hierarchy: - openai-whisper-20230306.tar.gz (Root Library) - :x: **transformers-4.28.1-py3-none-any.whl** (Vulnerable Library)

Found in HEAD commit: b4f3ee53e899528649bc46f5e05d15d3fb854053

Found in base branch: main

### Vulnerability Details

Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36.

Publish Date: 2023-12-19

URL: CVE-2023-6730

### CVSS 3 Score Details (8.8)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://huntr.com/bounties/423611ee-7a2a-442a-babb-3ed2f8385c16/

Release Date: 2023-12-19

Fix Resolution (transformers): 4.36.0

Direct dependency fix Resolution (openai-whisper): 20230307

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2023-7018 ### Vulnerable Library - transformers-4.28.1-py3-none-any.whl

State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow

Library home page: https://files.pythonhosted.org/packages/d8/a7/a6ff727fd5d96d6625f4658944a2ae230f0c75743a9a117fbda013b03d3d/transformers-4.28.1-py3-none-any.whl

Path to dependency file: /text-generation-webui/extensions/whisper_stt/requirements.txt

Path to vulnerable library: /text-generation-webui/extensions/whisper_stt/requirements.txt

Dependency Hierarchy: - openai-whisper-20230306.tar.gz (Root Library) - :x: **transformers-4.28.1-py3-none-any.whl** (Vulnerable Library)

Found in HEAD commit: b4f3ee53e899528649bc46f5e05d15d3fb854053

Found in base branch: main

### Vulnerability Details

Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36.

Publish Date: 2023-12-20

URL: CVE-2023-7018

### CVSS 3 Score Details (7.8)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2023-7018

Release Date: 2023-12-20

Fix Resolution (transformers): 4.36.0

Direct dependency fix Resolution (openai-whisper): 20230307

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2023-2800 ### Vulnerable Library - transformers-4.28.1-py3-none-any.whl

State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow

Library home page: https://files.pythonhosted.org/packages/d8/a7/a6ff727fd5d96d6625f4658944a2ae230f0c75743a9a117fbda013b03d3d/transformers-4.28.1-py3-none-any.whl

Path to dependency file: /text-generation-webui/extensions/whisper_stt/requirements.txt

Path to vulnerable library: /text-generation-webui/extensions/whisper_stt/requirements.txt

Dependency Hierarchy: - openai-whisper-20230306.tar.gz (Root Library) - :x: **transformers-4.28.1-py3-none-any.whl** (Vulnerable Library)

Found in HEAD commit: b4f3ee53e899528649bc46f5e05d15d3fb854053

Found in base branch: main

### Vulnerability Details

Insecure Temporary File in GitHub repository huggingface/transformers prior to 4.30.0.

Publish Date: 2023-05-18

URL: CVE-2023-2800

### CVSS 3 Score Details (4.7)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: High - Privileges Required: Low - 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

Origin: https://huntr.dev/bounties/a3867b4e-6701-4418-8c20-3c6e7084a44a/

Release Date: 2023-05-18

Fix Resolution (transformers): 4.30.1

Direct dependency fix Resolution (openai-whisper): 20230307

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2024-3568 ### Vulnerable Library - transformers-4.28.1-py3-none-any.whl

State-of-the-art Machine Learning for JAX, PyTorch and TensorFlow

Library home page: https://files.pythonhosted.org/packages/d8/a7/a6ff727fd5d96d6625f4658944a2ae230f0c75743a9a117fbda013b03d3d/transformers-4.28.1-py3-none-any.whl

Path to dependency file: /text-generation-webui/extensions/whisper_stt/requirements.txt

Path to vulnerable library: /text-generation-webui/extensions/whisper_stt/requirements.txt

Dependency Hierarchy: - openai-whisper-20230306.tar.gz (Root Library) - :x: **transformers-4.28.1-py3-none-any.whl** (Vulnerable Library)

Found in HEAD commit: b4f3ee53e899528649bc46f5e05d15d3fb854053

Found in base branch: main

### Vulnerability Details

The huggingface/transformers library is vulnerable to arbitrary code execution through deserialization of untrusted data within the `load_repo_checkpoint()` function of the `TFPreTrainedModel()` class. Attackers can execute arbitrary code and commands by crafting a malicious serialized payload, exploiting the use of `pickle.load()` on data from potentially untrusted sources. This vulnerability allows for remote code execution (RCE) by deceiving victims into loading a seemingly harmless checkpoint during a normal training process, thereby enabling attackers to execute arbitrary code on the targeted machine.

Publish Date: 2024-04-10

URL: CVE-2024-3568

### CVSS 3 Score Details (3.4)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2024-3568

Release Date: 2024-04-10

Fix Resolution (transformers): 4.38.0

Direct dependency fix Resolution (openai-whisper): 20230307

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
mend-bolt-for-github[bot] commented 1 year 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-bolt-for-github[bot] commented 1 year 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.

mend-bolt-for-github[bot] commented 1 year 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-bolt-for-github[bot] commented 11 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.