CVE-2022-45907
PyTorch vulnerable to arbitrary code execution
9.8
CRITICAL
CVSS 3.1
EPSS 0.83%
Description
In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.
How to fix CVE-2022-45907
To remediate CVE-2022-45907, upgrade the affected package to a fixed version below.
- Bitnami/pytorch—upgrade to 1.13.1 or later
- Debian/pytorch—no fix listed
- —upgrade to 1.13.1 or later
- —upgrade to 767f6aa49fe20a2766b9843d01e3b7f7793df6a3 or later
Is CVE-2022-45907 being exploited?
Low — EPSS is 0.8%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 1.13.1
- from 0
- from 0, < 1.13.1
- from 0, < 767f6aa49fe20a2766b9843d01e3b7f7793df6a3 | from 0, < 1.13.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |