CVE-2024-34073: Aws Sagemaker-Python-SDK

High severity, CVSS 7.8. EPSS: 1.8% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for the versions it affects. If you run one, update to it.

  • Aws Sagemaker-Python-SDK, before 2.214.3: fixed in 2.214.3

Affected products

Affected packages

Published 2024-05-03. Last modified 2026-06-17.