Skip to content

Update dependency torch to v2.7.1 [SECURITY] #14

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 18, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
torch ==2.3.0 -> ==2.7.1 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.

GitHub Vulnerability Alerts

CVE-2025-32434

Description

I found a Remote Command Execution (RCE) vulnerability in PyTorch. When loading model using torch.load with weights_only=True, it can still achieve RCE.

Background knowledge

https://github.com/pytorch/pytorch/security
As you can see, the PyTorch official documentation considers using torch.load() with weights_only=True to be safe.
image
Since everyone knows that weights_only=False is unsafe, so they will use the weights_only=True to mitigate the seucirty issue.
But now, I just proved that even if you use weights_only=True, it can still achieve RCE.

Credit

This vulnerability was found by Ji'an Zhou.

CVE-2025-2953

A vulnerability, which was classified as problematic, has been found in PyTorch 2.6.0+cu124. Affected by this issue is the function torch.mkldnn_max_pool2d. The manipulation leads to denial of service. An attack has to be approached locally. The exploit has been disclosed to the public and may be used.


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title Update dependency torch to v2.6.0 [SECURITY] Update dependency torch to v2.6.0 [SECURITY] - autoclosed May 31, 2025
@renovate renovate bot closed this May 31, 2025
@renovate renovate bot deleted the renovate/pypi-torch-vulnerability branch May 31, 2025 04:06
@renovate renovate bot changed the title Update dependency torch to v2.6.0 [SECURITY] - autoclosed Update dependency torch to v2.6.0 [SECURITY] Jun 6, 2025
@renovate renovate bot reopened this Jun 6, 2025
@renovate renovate bot changed the title Update dependency torch to v2.6.0 [SECURITY] Update dependency torch to v2.7.1 [SECURITY] Jun 6, 2025
@renovate renovate bot force-pushed the renovate/pypi-torch-vulnerability branch from 71c94c0 to bbae436 Compare June 6, 2025 14:59
@renovate renovate bot force-pushed the renovate/pypi-torch-vulnerability branch from bbae436 to 9ef6e81 Compare June 8, 2025 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants