{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-35199",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2024-05-10T14:24:24.343Z",
        "datePublished": "2024-07-18T22:40:06.549Z",
        "dateUpdated": "2024-08-07T15:59:53.795Z"
    },
    "containers": {
        "cna": {
            "title": "TorchServe gRPC Port Exposure",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-668",
                            "lang": "en",
                            "description": "CWE-668: Exposure of Resource to Wrong Sphere",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 8.2,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/pytorch/serve/security/advisories/GHSA-hhpg-v63p-wp7w",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/pytorch/serve/security/advisories/GHSA-hhpg-v63p-wp7w"
                },
                {
                    "name": "https://github.com/pytorch/serve/pull/3083",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/pytorch/serve/pull/3083"
                },
                {
                    "name": "https://github.com/pytorch/serve/releases/tag/v0.11.0",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/pytorch/serve/releases/tag/v0.11.0"
                }
            ],
            "affected": [
                {
                    "vendor": "pytorch",
                    "product": "serve",
                    "versions": [
                        {
                            "version": ">= 0.3.0, < 0.11.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2024-08-07T15:59:53.795Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "TorchServe is a flexible and easy-to-use tool for serving and scaling PyTorch models in production. In affected versions the two gRPC ports 7070 and 7071, are not bound to [localhost](http://localhost/) by default, so when TorchServe is launched, these two interfaces are bound to all interfaces. Customers using PyTorch inference Deep Learning Containers (DLC) through Amazon SageMaker and EKS are not affected. This issue in TorchServe has been fixed in PR #3083. TorchServe release 0.11.0 includes the fix to address this vulnerability. Users are advised to upgrade. There are no known workarounds for this vulnerability."
                }
            ],
            "source": {
                "advisory": "GHSA-hhpg-v63p-wp7w",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "affected": [
                    {
                        "vendor": "pytorch",
                        "product": "torchserve",
                        "cpes": [
                            "cpe:2.3:a:pytorch:torchserve:0.3.0:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "0.3.0",
                                "status": "affected",
                                "lessThan": "0.11.0",
                                "versionType": "custom"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-07-19T16:50:48.409416Z",
                                "id": "CVE-2024-35199",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-07-19T16:57:14.131Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T03:07:46.885Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/pytorch/serve/security/advisories/GHSA-hhpg-v63p-wp7w",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/pytorch/serve/security/advisories/GHSA-hhpg-v63p-wp7w"
                    },
                    {
                        "name": "https://github.com/pytorch/serve/pull/3083",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/pytorch/serve/pull/3083"
                    },
                    {
                        "name": "https://github.com/pytorch/serve/releases/tag/v0.11.0",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/pytorch/serve/releases/tag/v0.11.0"
                    }
                ]
            }
        ]
    }
}