Skip to content
HighVulnerability

CVE-2024-34073: sagemaker-python-sdk OS command injection via capture_dependencies

Identifier
CVE-2024-34073
Published
Record updated
View JSON
Affected
  • sagemaker < 2.214.3
Fixed in
2.214.3
  • released April 3, 2024, 29 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.2%

Summary

CVE-2024-34073 affects sagemaker-python-sdk. In affected versions, the capture_dependencies function in the sagemaker.serve.save_retrive.version_1_0_0.save.utils module allows OS command injection through the requirements_path parameter. An unprivileged third party may use this to achieve remote code execution or denial of service, affecting confidentiality and integrity.

Mitigation

Fixed in version 2.214.3; users are advised to upgrade. If upgrading is not possible, do not override the requirements_path parameter of capture_dependencies and use the default value instead.