kritisch9.8
CVE-2022-45907
PyTorch vulnerable to arbitrary code execution
Auswirkung
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).
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | torch | <= 1.13.0 | 1.13.1 |
Betroffene Produkte · Linuxfoundation
| Produkt | Betroffene Versionen |
|---|---|
| Pytorch | vor 1.13.1 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/pytorch/pytorch/commit/767f6aa49fe20a2766b9843d01e3b7f7793df6a3
- https://github.com/pytorch/pytorch/issues/88868
- https://github.com/advisories/GHSA-47fc-vmwq-366v
- https://nvd.nist.gov/vuln/detail/CVE-2022-45907
- https://github.com/pytorch/pytorch/issues/89855
- https://github.com/pytorch/pytorch/pull/89189
- https://github.com/pytorch/pytorch/releases/tag/v1.13.1
- https://github.com/pypa/advisory-database/tree/main/vulns/torch/PYSEC-2022-43015.yaml