-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #122 from AikidoSec/intel-new-vuln-rce-torch
New Vuln: RCE in Torch (py)
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"package_name": "torch", | ||
"patch_versions": [ | ||
"2.6.0" | ||
], | ||
"vulnerable_ranges": [ | ||
[ | ||
"1.0.0", | ||
"2.5.1" | ||
] | ||
], | ||
"cwe": [ | ||
"CWE-94" | ||
], | ||
"tldr": "By default, affected versions of this package handle unpickling with `weights_only=False`, which relies on Python's insecure pickle module, allowing the execution of arbitrary code embedded in malicious pickle files. Attackers can exploit this flaw for remote code execution (RCE). The current patched version fixes it by setting `weights_only=True` by default, which mitigates the risk by restricting unpickling to safe tensor classes.", | ||
"doest_this_affect_me": "You are affected if you are using a version that falls within the vulnerable range.", | ||
"how_to_fix": "Upgrade the `torch` library to the patch version.", | ||
"vulnerable_to": "Remote Code Execution (RCE)", | ||
"related_cve_id": "", | ||
"language": "Python", | ||
"severity_class": "HIGH", | ||
"aikido_score": 85, | ||
"changelog": "https://github.com/pytorch/pytorch/releases/tag/v2.6.0", | ||
"last_modified": "2025-01-29", | ||
"published": "2025-01-29" | ||
} |