Browse / Unsafe Model Loading and Supply Chain / CVE-2024-6577
TorchServe script references S3 bucket without ensuring ownership or confirming accessibility
- Class
- Unsafe Model Loading and Supply Chain (filed by a model that read the advisory)
- Technique
- Data exfiltration
- Affected
- torchserve (PyPI)
- CVSS
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
- EPSS
- 0.4% chance of exploitation in 30 days
How it works, in short
A build script uploads results to an S3 bucket name that is not verified as owned, so an attacker who claims it receives the data. (Our summary, written by a model. The source text is below.)
Details
In the latest version of pytorch/serve, the script 'upload_results_to_s3.sh' references the S3 bucket 'benchmarkai-metrics-prod' without ensuring its ownership or confirming its accessibility. This could lead to potential security vulnerabilities or unauthorized access to the bucket if it is not properly secured or claimed by the appropriate entity. The issue may result in data breaches, exposure of proprietary information, or unauthorized modifications to stored data.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-6577
- https://github.com/pytorch/serve
- https://huntr.com/bounties/20917570-8328-428f-bd1d-4fcd71fb2359
Source: GitHub Advisory Database, used under CC BY 4.0.