{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2022-25882",
        "assignerOrgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730",
        "state": "PUBLISHED",
        "assignerShortName": "snyk",
        "dateReserved": "2022-02-24T11:58:16.846Z",
        "datePublished": "2023-01-25T05:00:02.847Z",
        "dateUpdated": "2024-08-03T04:49:44.161Z"
    },
    "containers": {
        "cna": {
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "NONE",
                        "availabilityImpact": "NONE",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:P"
                    }
                }
            ],
            "credits": [
                {
                    "value": "jnovikov",
                    "lang": "en"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-22",
                            "description": "Directory Traversal",
                            "lang": "en"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "bae035ff-b466-4ff4-94d0-fc9efd9e1730",
                "shortName": "snyk",
                "dateUpdated": "2023-01-25T05:00:02.847Z"
            },
            "descriptions": [
                {
                    "value": "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\"",
                    "lang": "en"
                }
            ],
            "references": [
                {
                    "url": "https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479"
                },
                {
                    "url": "https://github.com/onnx/onnx/issues/3991"
                },
                {
                    "url": "https://github.com/onnx/onnx/blob/96516aecd4c110b0ac57eba08ac236ebf7205728/onnx/checker.cc%23L129"
                },
                {
                    "url": "https://github.com/onnx/onnx/pull/4400"
                },
                {
                    "url": "https://github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988d"
                },
                {
                    "url": "https://gist.github.com/jnovikov/02a9aff9bf2188033e77bd91ff062856"
                }
            ],
            "affected": [
                {
                    "product": "onnx",
                    "versions": [
                        {
                            "version": "0",
                            "lessThan": "1.13.0",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ],
                    "vendor": "n/a"
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T04:49:44.161Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://security.snyk.io/vuln/SNYK-PYTHON-ONNX-2395479",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/onnx/onnx/issues/3991",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/onnx/onnx/blob/96516aecd4c110b0ac57eba08ac236ebf7205728/onnx/checker.cc%23L129",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/onnx/onnx/pull/4400",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/onnx/onnx/commit/f369b0e859024095d721f1d1612da5a8fa38988d",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://gist.github.com/jnovikov/02a9aff9bf2188033e77bd91ff062856",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}