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

CVE-2022-45907 (High) detected in torch-1.12.1-cp37-cp37m-manylinux1_x86_64.whl, torch-1.13.0-cp37-cp37m-manylinux1_x86_64.whl - autoclosed #49

Closed
mend-for-github-com bot opened this issue Dec 2, 2022 · 3 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-github-com
Copy link

mend-for-github-com bot commented Dec 2, 2022

CVE-2022-45907 - High Severity Vulnerability

Vulnerable Libraries - torch-1.12.1-cp37-cp37m-manylinux1_x86_64.whl, torch-1.13.0-cp37-cp37m-manylinux1_x86_64.whl

torch-1.12.1-cp37-cp37m-manylinux1_x86_64.whl

Tensors and Dynamic neural networks in Python with strong GPU acceleration

Library home page: https://files.pythonhosted.org/packages/b9/af/23c13cd340cd333f42de225ba3da3b64e1a70425546d1a59bfa42d465a5d/torch-1.12.1-cp37-cp37m-manylinux1_x86_64.whl

Path to dependency file: /tmp/ws-scm/opensearch-py-ml

Path to vulnerable library: /tmp/ws-scm/opensearch-py-ml

Dependency Hierarchy:

  • torch-1.12.1-cp37-cp37m-manylinux1_x86_64.whl (Vulnerable Library)
torch-1.13.0-cp37-cp37m-manylinux1_x86_64.whl

Tensors and Dynamic neural networks in Python with strong GPU acceleration

Library home page: https://files.pythonhosted.org/packages/7a/fb/b1b11ae95ffa7099ca2e60ed5945e56130cc8740208f42aa77f17e03ab3c/torch-1.13.0-cp37-cp37m-manylinux1_x86_64.whl

Path to dependency file: /tmp/ws-scm/opensearch-py-ml

Path to vulnerable library: /tmp/ws-scm/opensearch-py-ml,/requirements.txt,/requirements.txt

Dependency Hierarchy:

  • torch-1.13.0-cp37-cp37m-manylinux1_x86_64.whl (Vulnerable Library)

Found in HEAD commit: f353dfaa038f1c153b1ca1966477dcbb72eb98dd

Found in base branch: main

Vulnerability Details

In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.

Publish Date: 2022-11-26

URL: CVE-2022-45907

CVSS 3 Score Details (9.8)

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

For more information on CVSS3 Scores, click here.

@mend-for-github-com mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Dec 2, 2022
@mend-for-github-com mend-for-github-com bot changed the title CVE-2022-45907 (High) detected in torch-1.13.0-cp37-cp37m-manylinux1_x86_64.whl CVE-2022-45907 (High) detected in torch-1.12.1-cp37-cp37m-manylinux1_x86_64.whl, torch-1.13.0-cp37-cp37m-manylinux1_x86_64.whl Dec 12, 2022
@dhrubo-os
Copy link
Collaborator

pytorch/pytorch#88868

@abustamante-coveo
Copy link

hello, Snyk still marks torch as having a critical vulnerability even after the 1.13.1 patch. Was this vulnerability supposed to be patched on that version?

@mend-for-github-com
Copy link
Author

✔️ 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 mend-for-github-com bot changed the title CVE-2022-45907 (High) detected in torch-1.12.1-cp37-cp37m-manylinux1_x86_64.whl, torch-1.13.0-cp37-cp37m-manylinux1_x86_64.whl CVE-2022-45907 (High) detected in torch-1.12.1-cp37-cp37m-manylinux1_x86_64.whl, torch-1.13.0-cp37-cp37m-manylinux1_x86_64.whl - autoclosed Dec 19, 2022
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

2 participants