Skip to main content
← All vulnerabilities
CVE-2024-34073GHSA-7PC3-PR3Q-58VGPYSEC-2026-1887

Command Injection in sagemaker-python-sdk

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.214.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • aws sagemaker-python-sdk

    fixed in 2.214.3

  • sagemakerPyPI

    fixed in 2.214.3

References 3

GitHub · aws/sagemaker-python-sdk