GHSA-47fc-vmwq-366v
PyTorch vulnerable to arbitrary code execution
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2022-45907
- Alias
- BIT-pytorch-2022-45907, PYSEC-2022-43015
- CVSS_V3
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS_V4
- 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
Description
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).
Paquets affectés
| Paquet | Versions |
|---|---|
| PyPI · torch | introduced 0, fixed 1.13.1 |
Références
- https://nvd.nist.gov/vuln/detail/CVE-2022-45907 ADVISORY
- https://github.com/pytorch/pytorch/issues/88868 WEB
- https://github.com/pytorch/pytorch/issues/89855 WEB
- https://github.com/pytorch/pytorch/pull/89189 WEB
- https://github.com/pytorch/pytorch/commit/767f6aa49fe20a2766b9843d01e3b7f7793df6a3 WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2022-43015.yaml WEB
- https://github.com/pytorch/pytorch PACKAGE
- https://github.com/pytorch/pytorch/releases/tag/v1.13.1 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |