{"id":"CVE-2022-25882","aliases":["CVE-2022-25882","GHSA-ffxj-547x-5j7c","PYSEC-2023-38"],"related":[],"kind":"vulnerability","state":"published","title":"Directory Traversal in onnx","summary":"Versions of the package onnx before 1.13.0 are vulnerable to Directory Traversal as the external_data field of the tensor proto can have a path to the file which is outside the model current directory or user-provided directory, for example \"../../../etc/passwd\"","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Versions of the package onnx before 1.13.0 are vulnerable to Directory Traversal as the external_data field of the tensor proto can have a path to the file which is outside the model current directory or user-provided directory, for example \"../../../etc/passwd\"","source":"cvelist"},{"lang":"es","text":"Las versiones del paquete onnx anteriores a la 1.13.0 son vulnerables a Directory Traversal ya que el campo external_data del tensor proto puede tener una ruta al archivo que está fuera del directorio actual del modelo o del directorio proporcionado por el usuario, por ejemplo \"../.. /../etc/contraseña\"","source":"nvd"}],"published":"2023-01-25T05:00:02.847Z","modified":"2026-06-17T04:34:26.243Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.13.0","status":"affected"}],"product":"onnx","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.13.0"}],"ecosystem":"PyPI","package":"onnx","purl":"pkg:pypi/onnx","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.13.0"}],"vendor":"linuxfoundation","product":"onnx","cpe":"cpe:2.3:a:linuxfoundation:onnx:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"f369b0e859024095d721f1d1612da5a8fa38988d"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.13.0"}],"ecosystem":"PyPI","package":"onnx","purl":"pkg:pypi/onnx","repo":"https://github.com/onnx/onnx","source":"pysec"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/onnx/onnx/issues/3991","tags":["exploit","report","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/onnx/onnx/blob/96516aecd4c110b0ac57eba08ac236ebf7205728/onnx/checker.cc%23L129","tags":["broken-link","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/onnx/onnx/pull/4400","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988d","tags":["fix","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://gist.github.com/jnovikov/02a9aff9bf2188033e77bd91ff062856","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25882","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/onnx/onnx","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/onnx/PYSEC-2023-38.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-ffxj-547x-5j7c","tags":["advisory"],"sources":["pysec"]}],"credits":["jnovikov"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-04-01T14:53:52.957Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25882","url":"https://www.cve.org/CVERecord?id=CVE-2022-25882","licence":"CVE Terms of Use","modified":"2025-04-01T14:54:07.446Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-ffxj-547x-5j7c","url":"https://github.com/advisories/GHSA-ffxj-547x-5j7c","licence":"CC-BY-4.0","modified":"2025-04-01T21:59:48.038Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25882","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25882","licence":"Public domain","modified":"2026-06-17T04:34:26.243Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2023-38","url":"https://osv.dev/vulnerability/PYSEC-2023-38","licence":"CC-BY-4.0","modified":"2026-06-10T17:02:27.492Z"}],"updatedAt":"2026-11-25T22:58:18.327Z","epss":{"score":0.01768,"percentile":0.78625,"date":"2026-11-30T12:00:22.000Z"}}