{"data":{"id":"6cbc35db-84c5-4fb5-b8c1-b46076b9d03b","title":"CVE-2022-25882: Versions of the package onnx before 1.13.0 are vulnerable to Directory Traversal as the external_data field of the…","summary":"CVE-2022-25882 affects versions of the onnx package before 1.13.0. The external_data field of a tensor proto can contain a path to a file outside the model's current directory or a user-provided directory, such as \"../../../etc/passwd\". The weakness is classified as CWE-22, Improper Limitation of a Pathname to a Restricted Directory.","solution":"The source text references a patch commit (github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988d) and a pull request (github.com/onnx/onnx/pull/4400), but does not explicitly state the fixed version or describe the fix in its own words. The affected range is versions before 1.13.0.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2022-25882","publishedAt":"2023-01-27T02:15:31.333Z","cveId":"CVE-2022-25882","cweIds":["CWE-22","CWE-22","CWE-22"],"cvssScore":"7.5","cvssSeverity":"high","severity":"high","attackType":["other"],"issueType":"vulnerability","affectedPackages":["onnx@< 1.13.0 (fixed: 1.13.0)"],"affectedPackageNames":["onnx"],"affectedPackageRefs":["pypi:onnx"],"affectedVendors":[],"affectedVendorsRaw":["ONNX"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"onnx directory traversal through the external_data field of tensor proto","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.01608,"epssCheckedAt":"2026-11-04T06:10:15.975Z","kevDateAdded":null,"advisoryAliases":["GHSA-ffxj-547x-5j7c"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-10-10T03:57:20.245Z","patchAvailable":true,"disclosureDate":null,"fixReleasedAt":"2022-12-12T13:24:51.089Z","daysToFix":-46,"fixCheckedAt":"2026-10-29T21:47:27.088Z","capecIds":["CAPEC-126"],"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"onnx","fixedVersion":"1.13.0","matchedVersion":"1.13.0","fixReleasedAt":"2022-12-12T13:24:51.089Z","daysToFix":-46,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:47:26.938Z"}]}}