CVE-2022-45907
CRITICAL9.8EPSS 0.83%PyTorch vulnerable to arbitrary code execution
發布日:2022/11/26修改日:2024/11/13
描述
In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely. The fix for this issue is available in version 1.13.1. There is a release checker in [issue #89855](https://github.com/pytorch/pytorch/issues/89855).
受影響套件(4)
- Bitnami/pytorchfrom 0, < 1.13.1
- Debian/pytorchfrom 0
- PyPI/torchfrom 0, < 1.13.1
- PyPI/torchfrom 0, < 767f6aa49fe20a2766b9843d01e3b7f7793df6a3 | from 0, < 1.13.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| 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 |
參考連結(9)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-45907
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-45907
- PATCHhttps://github.com/pytorch/pytorch
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2022-43015.yaml
- WEBhttps://github.com/pytorch/pytorch/commit/767f6aa49fe20a2766b9843d01e3b7f7793df6a3
- WEBhttps://github.com/pytorch/pytorch/issues/88868
- WEBhttps://github.com/pytorch/pytorch/issues/89855
- WEBhttps://github.com/pytorch/pytorch/pull/89189
- WEBhttps://github.com/pytorch/pytorch/releases/tag/v1.13.1