High severity · published May 3, 2024
CVE-2024-34073
Command Injection in sagemaker-python-sdk
7.8
CVSS
1.2%
EPSS
No
On KEV
Description
sagemaker-python-sdk is a library for training and deploying machine learning models on Amazon SageMaker. In affected versions the capture_dependencies function in `sagemaker.serve.save_retrive.version_1_0_0.save.utils` module allows for potentially unsafe Operating System (OS) Command Injection if inappropriate command is passed as the “requirements_path” parameter. This consequently may allow an unprivileged third party to cause remote code execution, denial of service, affecting both confidentiality and integrity. This issue has been addressed in version 2.214.3. Users are advised to upgrade. Users unable to upgrade should not override the “requirements_path” parameter of capture_dependencies function in `sagemaker.serve.save_retrive.version_1_0_0.save.utils`, and instead use the default value.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.2% · higher than 67% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SA
sagemaker-python-sdk · aws
< 2.214.3 · source: vendor, CISA
Affected product
SA
sagemaker-python-sdk
aws
More from sagemaker-python-sdk
7.8
CVE-2024-34072
Deserialization of Untrusted Data in sagemaker-python-sdk
7.2
CVE-2026-83551
Cleartext storage of HMAC signing key in Amazon SageMaker Python SDK @step/@remote pipeline path
5.3
CVE-2026-110248
Insertion of sensitive information into log files in Amazon SageMaker Python SDK git_utils[.]py