CVE-2024-35198

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-35198
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35198.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-35198
Aliases
Related
Published
2024-07-19T02:15:14Z
Modified
2025-05-24T03:39:07.529629Z
Summary
[none]
Details

TorchServe is a flexible and easy-to-use tool for serving and scaling PyTorch models in production. TorchServe 's check on allowedurls configuration can be by-passed if the URL contains characters such as ".." but it does not prevent the model from being downloaded into the model store. Once a file is downloaded, it can be referenced without providing a URL the second time, which effectively bypasses the allowedurls security check. Customers using PyTorch inference Deep Learning Containers (DLC) through Amazon SageMaker and EKS are not affected. This issue in TorchServe has been fixed by validating the URL without characters such as ".." before downloading see PR #3082. 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.

References

Affected packages

Git / github.com/pytorch/serve

Affected ranges

Type
GIT
Repo
https://github.com/pytorch/serve
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

release_0.*

release_0.4.2

Other

test_release

v0.*

v0.1.0
v0.1.1
v0.2.0
v0.3.0
v0.4.0
v0.4.2
v0.5.0
v0.5.1
v0.5.2
v0.6.0
v0.7.0
v0.7.1
v0.8.0
v0.8.1
v0.8.2
v0.9.0