Skip to content

Commit

Permalink
Merge pull request #122 from AikidoSec/intel-new-vuln-rce-torch
Browse files Browse the repository at this point in the history
New Vuln: RCE in Torch (py)
  • Loading branch information
sampion88 authored Jan 30, 2025
2 parents 2612ade + ebc6dc7 commit 8fad9b2
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions vulnerabilities/AIKIDO-2025-10060.json
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"
}

0 comments on commit 8fad9b2

Please sign in to comment.