CVE-2024-34073: sagemaker-python-sdk - Command Injection
- Cve: CVE-2024-34073
- Name: sagemaker-python-sdk - Command Injection
- 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.
- Impact: Unprivileged attackers can execute arbitrary OS commands, leading to remote code execution, denial of service, and compromising confidentiality and integrity.
- Remediation: Upgrade to version 2.214.3 or later. If unable to upgrade, do not override 'requirements_path' parameter and use the default value.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution, denial_of_service, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.01153
- Epss percentile: 0.67784
- Assignee: [email protected]
- Published at: 2024-05-03T11:15:22Z
- Age in days: 935
- Modified at: 2026-06-17T07:32:51Z
- Patch available: yes
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-34073
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| aws:sagemaker-python-sdk | < 2.214.3 | no | adp_cpes | /v1/products/aws/sagemaker-python-sdk |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| aws/sagemaker-python-sdk | commit, fix, package, pull, security_advisory | yes | /v1/repositories/aws/sagemaker-python-sdk |
Index
- Repositories: 142
- Repositories high signal: 14
- Packages: 1
Exploitation
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts