Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transformers-4.22.2-py3-none-any.whl: 7 vulnerabilities (highest severity is: 8.8) #14

Open
mend-bolt-for-github bot opened this issue May 20, 2023 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented May 20, 2023

Vulnerable Library - transformers-4.22.2-py3-none-any.whl

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

Library home page: https://files.pythonhosted.org/packages/b1/7a/60a226cb857bb7e4c3c8ceaf7035b6618e5cec8056426fbd0a914a70f2b1/transformers-4.22.2-py3-none-any.whl

Path to dependency file: /models/training-tuning-scripts/log-parsing-models/requirements.txt

Path to vulnerable library: /models/training-tuning-scripts/log-parsing-models/requirements.txt,/tmp/ws-scm/Morpheus,/models/validation-inference-scripts/log-parsing-models/requirements.txt

Found in HEAD commit: 42a2d393427e16f1b80a5df9fe14a37d045088ad

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (transformers version) Remediation Possible**
CVE-2024-11394 High 8.8 transformers-4.22.2-py3-none-any.whl Direct 4.48.0
CVE-2024-11393 High 8.8 transformers-4.22.2-py3-none-any.whl Direct 4.48.0
CVE-2024-11392 High 8.8 transformers-4.22.2-py3-none-any.whl Direct 4.48.0
CVE-2023-6730 High 8.8 transformers-4.22.2-py3-none-any.whl Direct 4.36.0
CVE-2023-7018 High 7.8 transformers-4.22.2-py3-none-any.whl Direct 4.36.0
CVE-2023-2800 Medium 4.7 transformers-4.22.2-py3-none-any.whl Direct 4.30.0
CVE-2024-3568 Low 3.4 transformers-4.22.2-py3-none-any.whl Direct 4.38.0

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

Details

CVE-2024-11394

Vulnerable Library - transformers-4.22.2-py3-none-any.whl

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

Library home page: https://files.pythonhosted.org/packages/b1/7a/60a226cb857bb7e4c3c8ceaf7035b6618e5cec8056426fbd0a914a70f2b1/transformers-4.22.2-py3-none-any.whl

Path to dependency file: /models/training-tuning-scripts/log-parsing-models/requirements.txt

Path to vulnerable library: /models/training-tuning-scripts/log-parsing-models/requirements.txt,/tmp/ws-scm/Morpheus,/models/validation-inference-scripts/log-parsing-models/requirements.txt

Dependency Hierarchy:

  • transformers-4.22.2-py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: 42a2d393427e16f1b80a5df9fe14a37d045088ad

Found in base branch: branch-23.03

Vulnerability Details

Hugging Face Transformers Trax Model Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face Transformers. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the handling of model files. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-25012.

Publish Date: 2024-11-22

URL: CVE-2024-11394

CVSS 3 Score Details (8.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • 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

Release Date: 2024-11-22

Fix Resolution: 4.48.0

Step up your Open Source Security Game with Mend here

CVE-2024-11393

Vulnerable Library - transformers-4.22.2-py3-none-any.whl

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

Library home page: https://files.pythonhosted.org/packages/b1/7a/60a226cb857bb7e4c3c8ceaf7035b6618e5cec8056426fbd0a914a70f2b1/transformers-4.22.2-py3-none-any.whl

Path to dependency file: /models/training-tuning-scripts/log-parsing-models/requirements.txt

Path to vulnerable library: /models/training-tuning-scripts/log-parsing-models/requirements.txt,/tmp/ws-scm/Morpheus,/models/validation-inference-scripts/log-parsing-models/requirements.txt

Dependency Hierarchy:

  • transformers-4.22.2-py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: 42a2d393427e16f1b80a5df9fe14a37d045088ad

Found in base branch: branch-23.03

Vulnerability Details

Hugging Face Transformers MaskFormer Model Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face Transformers. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of model files. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-25191.

Publish Date: 2024-11-22

URL: CVE-2024-11393

CVSS 3 Score Details (8.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • 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

Release Date: 2024-11-22

Fix Resolution: 4.48.0

Step up your Open Source Security Game with Mend here

CVE-2024-11392

Vulnerable Library - transformers-4.22.2-py3-none-any.whl

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

Library home page: https://files.pythonhosted.org/packages/b1/7a/60a226cb857bb7e4c3c8ceaf7035b6618e5cec8056426fbd0a914a70f2b1/transformers-4.22.2-py3-none-any.whl

Path to dependency file: /models/training-tuning-scripts/log-parsing-models/requirements.txt

Path to vulnerable library: /models/training-tuning-scripts/log-parsing-models/requirements.txt,/tmp/ws-scm/Morpheus,/models/validation-inference-scripts/log-parsing-models/requirements.txt

Dependency Hierarchy:

  • transformers-4.22.2-py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: 42a2d393427e16f1b80a5df9fe14a37d045088ad

Found in base branch: branch-23.03

Vulnerability Details

Hugging Face Transformers MobileViTV2 Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Hugging Face Transformers. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the handling of configuration files. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the current user. Was ZDI-CAN-24322.

Publish Date: 2024-11-22

URL: CVE-2024-11392

CVSS 3 Score Details (8.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • 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

Release Date: 2024-11-22

Fix Resolution: 4.48.0

Step up your Open Source Security Game with Mend here

CVE-2023-6730

Vulnerable Library - transformers-4.22.2-py3-none-any.whl

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

Library home page: https://files.pythonhosted.org/packages/b1/7a/60a226cb857bb7e4c3c8ceaf7035b6618e5cec8056426fbd0a914a70f2b1/transformers-4.22.2-py3-none-any.whl

Path to dependency file: /models/training-tuning-scripts/log-parsing-models/requirements.txt

Path to vulnerable library: /models/training-tuning-scripts/log-parsing-models/requirements.txt,/tmp/ws-scm/Morpheus,/models/validation-inference-scripts/log-parsing-models/requirements.txt

Dependency Hierarchy:

  • transformers-4.22.2-py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: 42a2d393427e16f1b80a5df9fe14a37d045088ad

Found in base branch: branch-23.03

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: 4.36.0

Step up your Open Source Security Game with Mend here

CVE-2023-7018

Vulnerable Library - transformers-4.22.2-py3-none-any.whl

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

Library home page: https://files.pythonhosted.org/packages/b1/7a/60a226cb857bb7e4c3c8ceaf7035b6618e5cec8056426fbd0a914a70f2b1/transformers-4.22.2-py3-none-any.whl

Path to dependency file: /models/training-tuning-scripts/log-parsing-models/requirements.txt

Path to vulnerable library: /models/training-tuning-scripts/log-parsing-models/requirements.txt,/tmp/ws-scm/Morpheus,/models/validation-inference-scripts/log-parsing-models/requirements.txt

Dependency Hierarchy:

  • transformers-4.22.2-py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: 42a2d393427e16f1b80a5df9fe14a37d045088ad

Found in base branch: branch-23.03

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: 4.36.0

Step up your Open Source Security Game with Mend here

CVE-2023-2800

Vulnerable Library - transformers-4.22.2-py3-none-any.whl

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

Library home page: https://files.pythonhosted.org/packages/b1/7a/60a226cb857bb7e4c3c8ceaf7035b6618e5cec8056426fbd0a914a70f2b1/transformers-4.22.2-py3-none-any.whl

Path to dependency file: /models/training-tuning-scripts/log-parsing-models/requirements.txt

Path to vulnerable library: /models/training-tuning-scripts/log-parsing-models/requirements.txt,/tmp/ws-scm/Morpheus,/models/validation-inference-scripts/log-parsing-models/requirements.txt

Dependency Hierarchy:

  • transformers-4.22.2-py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: 42a2d393427e16f1b80a5df9fe14a37d045088ad

Found in base branch: branch-23.03

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: 4.30.0

Step up your Open Source Security Game with Mend here

CVE-2024-3568

Vulnerable Library - transformers-4.22.2-py3-none-any.whl

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

Library home page: https://files.pythonhosted.org/packages/b1/7a/60a226cb857bb7e4c3c8ceaf7035b6618e5cec8056426fbd0a914a70f2b1/transformers-4.22.2-py3-none-any.whl

Path to dependency file: /models/training-tuning-scripts/log-parsing-models/requirements.txt

Path to vulnerable library: /models/training-tuning-scripts/log-parsing-models/requirements.txt,/tmp/ws-scm/Morpheus,/models/validation-inference-scripts/log-parsing-models/requirements.txt

Dependency Hierarchy:

  • transformers-4.22.2-py3-none-any.whl (Vulnerable Library)

Found in HEAD commit: 42a2d393427e16f1b80a5df9fe14a37d045088ad

Found in base branch: branch-23.03

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: 4.38.0

Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label May 20, 2023
@mend-bolt-for-github mend-bolt-for-github bot changed the title transformers-4.22.2-py3-none-any.whl: 1 vulnerabilities (highest severity is: 4.7) transformers-4.22.2-py3-none-any.whl: 3 vulnerabilities (highest severity is: 5.5) Dec 24, 2023
@mend-bolt-for-github mend-bolt-for-github bot changed the title transformers-4.22.2-py3-none-any.whl: 3 vulnerabilities (highest severity is: 5.5) transformers-4.22.2-py3-none-any.whl: 3 vulnerabilities (highest severity is: 9.6) Dec 28, 2023
@mend-bolt-for-github mend-bolt-for-github bot changed the title transformers-4.22.2-py3-none-any.whl: 3 vulnerabilities (highest severity is: 9.6) transformers-4.22.2-py3-none-any.whl: 3 vulnerabilities (highest severity is: 8.8) Dec 30, 2023
@mend-bolt-for-github mend-bolt-for-github bot changed the title transformers-4.22.2-py3-none-any.whl: 3 vulnerabilities (highest severity is: 8.8) transformers-4.22.2-py3-none-any.whl: 4 vulnerabilities (highest severity is: 8.8) Apr 22, 2024
@mend-bolt-for-github mend-bolt-for-github bot changed the title transformers-4.22.2-py3-none-any.whl: 4 vulnerabilities (highest severity is: 8.8) transformers-4.22.2-py3-none-any.whl: 7 vulnerabilities (highest severity is: 8.8) Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend
Projects
None yet
Development

No branches or pull requests

0 participants