{"id":"BIT-pytorch-2022-45907","details":"In PyTorch before trunk/89695, torch.jit.annotations.parse_type_line can cause arbitrary code execution because eval is used unsafely.","aliases":["CVE-2022-45907","GHSA-47fc-vmwq-366v","PYSEC-2022-43015"],"modified":"2025-04-03T14:40:37.652Z","published":"2024-03-06T11:02:51.602Z","database_specific":{"severity":"Critical","cpes":["cpe:2.3:a:linuxfoundation:pytorch:*:*:*:*:*:python:*:*"]},"references":[{"type":"WEB","url":"https://github.com/pytorch/pytorch/commit/767f6aa49fe20a2766b9843d01e3b7f7793df6a3"},{"type":"WEB","url":"https://github.com/pytorch/pytorch/issues/88868"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-45907"}],"affected":[{"package":{"name":"pytorch","ecosystem":"Bitnami","purl":"pkg:bitnami/pytorch"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.13.1"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/pytorch/BIT-pytorch-2022-45907.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}],"schema_version":"1.7.3"}