Home » Database

AVID-2026-R1479

Description

Command Injection in sagemaker-python-sdk (CVE-2024-34073)

Details

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.

Reason for inclusion in AVID: CVE-2024-34073 describes a command injection vulnerability in sagemaker-python-sdk, a library used to train and deploy ML models. The flaw enables OS command execution (CWE-78) with potential remote code execution, DoS, and confidentiality/integrity impact. It affects a software component used in AI pipelines and is in the software supply chain (dependencies/runtimes for AI systems). Mitigation is upgrading to version 2.214.3; guidance is provided to avoid unsafe usage of the affected parameter. Sufficient evidence is present to classify as a software supply chain vulnerability in AI systems.

References

Affected or Relevant Artifacts

  • Developer: aws
  • Deployer: aws
  • Artifact Details:
TypeName
Systemsagemaker-python-sdk

Impact

AVID Taxonomy Categorization

  • Risk domains: Security
  • SEP subcategories: S0100: Software Vulnerability
  • Lifecycle stages: L06: Deployment

CVSS

Version3.1
Vector StringCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Base Score7.8
Base Severity🔴 High
Attack VectorLOCAL
Attack Complexity🟢 Low
Privileges RequiredNONE
User InteractionREQUIRED
ScopeUNCHANGED
Confidentiality Impact🔴 High
Integrity Impact🔴 High
Availability Impact🔴 High

CWE

IDDescription
CWE-78CWE-78: Improper Neutralization of Special Elements used in an OS Command (‘OS Command Injection’)

Other information

  • Report Type: Advisory
  • Credits:
  • Date Reported: 2024-05-03
  • Version: 0.3.3
  • AVID Entry