UBUNTU-CVE-2024-35198

Source
https://ubuntu.com/security/CVE-2024-35198
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-35198.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2024-35198
Related
Withdrawn
2025-06-23T15:58:13Z
Published
2024-07-19T02:15:00Z
Modified
2024-10-15T14:14:11Z
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

Ubuntu:22.04:LTS / pytorch

Package

Name
pytorch
Purl
pkg:deb/ubuntu/pytorch?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.7.1-7
1.8.1-4

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / pytorch

Package

Name
pytorch
Purl
pkg:deb/ubuntu/pytorch?arch=src?distro=oracular

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*

2.1.2+dfsg-4ubuntu1
2.1.2+dfsg-4ubuntu2
2.4.1-1ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}