gsd-2023-48299
Vulnerability from gsd
Modified
2023-12-13 01:20
Details
TorchServe is a tool for serving and scaling PyTorch models in production. Starting in version 0.1.0 and prior to version 0.9.0, using the model/workflow management API, there is a chance of uploading potentially harmful archives that contain files that are extracted to any location on the filesystem that is within the process permissions. Leveraging this issue could aid third-party actors in hiding harmful code in open-source/public models, which can be downloaded from the internet, and take advantage of machines running Torchserve. The ZipSlip issue in TorchServe has been fixed by validating the paths of files contained within a zip archive before extracting them. TorchServe release 0.9.0 includes fixes to address the ZipSlip vulnerability.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2023-48299", "id": "GSD-2023-48299" }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2023-48299" ], "details": "TorchServe is a tool for serving and scaling PyTorch models in production. Starting in version 0.1.0 and prior to version 0.9.0, using the model/workflow management API, there is a chance of uploading potentially harmful archives that contain files that are extracted to any location on the filesystem that is within the process permissions. Leveraging this issue could aid third-party actors in hiding harmful code in open-source/public models, which can be downloaded from the internet, and take advantage of machines running Torchserve. The ZipSlip issue in TorchServe has been fixed by validating the paths of files contained within a zip archive before extracting them. TorchServe release 0.9.0 includes fixes to address the ZipSlip vulnerability.", "id": "GSD-2023-48299", "modified": "2023-12-13T01:20:39.604744Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2023-48299", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "serve", "version": { "version_data": [ { "version_affected": "=", "version_value": "\u003e= 0.1.0, \u003c 0.9.0" } ] } } ] }, "vendor_name": "pytorch" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "TorchServe is a tool for serving and scaling PyTorch models in production. Starting in version 0.1.0 and prior to version 0.9.0, using the model/workflow management API, there is a chance of uploading potentially harmful archives that contain files that are extracted to any location on the filesystem that is within the process permissions. Leveraging this issue could aid third-party actors in hiding harmful code in open-source/public models, which can be downloaded from the internet, and take advantage of machines running Torchserve. The ZipSlip issue in TorchServe has been fixed by validating the paths of files contained within a zip archive before extracting them. TorchServe release 0.9.0 includes fixes to address the ZipSlip vulnerability." } ] }, "impact": { "cvss": [ { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 5.3, "baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", "version": "3.1" } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "cweId": "CWE-22", "lang": "eng", "value": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/pytorch/serve/security/advisories/GHSA-m2mj-pr4f-h9jp", "refsource": "MISC", "url": "https://github.com/pytorch/serve/security/advisories/GHSA-m2mj-pr4f-h9jp" }, { "name": "https://github.com/pytorch/serve/pull/2634", "refsource": "MISC", "url": "https://github.com/pytorch/serve/pull/2634" }, { "name": "https://github.com/pytorch/serve/commit/bfb3d42396727614aef625143b4381e64142f9bb", "refsource": "MISC", "url": "https://github.com/pytorch/serve/commit/bfb3d42396727614aef625143b4381e64142f9bb" }, { "name": "https://github.com/pytorch/serve/releases/tag/v0.9.0", "refsource": "MISC", "url": "https://github.com/pytorch/serve/releases/tag/v0.9.0" } ] }, "source": { "advisory": "GHSA-m2mj-pr4f-h9jp", "discovery": "UNKNOWN" } }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:pytorch:torchserve:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "0.9.0", "versionStartIncluding": "0.1.0", "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2023-48299" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "TorchServe is a tool for serving and scaling PyTorch models in production. Starting in version 0.1.0 and prior to version 0.9.0, using the model/workflow management API, there is a chance of uploading potentially harmful archives that contain files that are extracted to any location on the filesystem that is within the process permissions. Leveraging this issue could aid third-party actors in hiding harmful code in open-source/public models, which can be downloaded from the internet, and take advantage of machines running Torchserve. The ZipSlip issue in TorchServe has been fixed by validating the paths of files contained within a zip archive before extracting them. TorchServe release 0.9.0 includes fixes to address the ZipSlip vulnerability." } ] }, "problemtype": { "problemtype_data": [ { "description": [] } ] }, "references": { "reference_data": [ { "name": "https://github.com/pytorch/serve/security/advisories/GHSA-m2mj-pr4f-h9jp", "refsource": "", "tags": [ "Patch", "Vendor Advisory" ], "url": "https://github.com/pytorch/serve/security/advisories/GHSA-m2mj-pr4f-h9jp" }, { "name": "https://github.com/pytorch/serve/pull/2634", "refsource": "", "tags": [ "Patch" ], "url": "https://github.com/pytorch/serve/pull/2634" }, { "name": "https://github.com/pytorch/serve/commit/bfb3d42396727614aef625143b4381e64142f9bb", "refsource": "", "tags": [ "Patch" ], "url": "https://github.com/pytorch/serve/commit/bfb3d42396727614aef625143b4381e64142f9bb" }, { "name": "https://github.com/pytorch/serve/releases/tag/v0.9.0", "refsource": "", "tags": [ "Release Notes" ], "url": "https://github.com/pytorch/serve/releases/tag/v0.9.0" } ] } }, "impact": { "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 5.3, "baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N", "version": "3.1" }, "exploitabilityScore": 3.9, "impactScore": 1.4 } }, "lastModifiedDate": "2023-11-29T02:31Z", "publishedDate": "2023-11-21T21:15Z" } } }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.