7.8

CVE-2024-34073: Command Injection in sagemaker-python-sdk

Deferred
AliasesGHSA-7pc3-pr3q-58vgPYSEC-2026-1887
Published 03-05-2024Last modified 02-08-2024

Vulnerability summary

CVE-2024-34073 is a high (CVSS 7.8) vulnerability in aws sagemaker-python-sdk. EPSS estimates a 1.14% chance of exploitation in the next 30 days, higher than 67.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
1.14%
0%100%
Low · -0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 03-05-2024
    PublishedVulnerability first disclosed.
  2. 02-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

1.14%

Chance of exploitation in the next 30 days

Percentile

68%

Versus all other CVEs

30-day change

Decrease -0.01 pp

From 1.15% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Aws1 product
PyPI1 product
  • sagemaker< 2.214.3

2 vendors · 2 products

References

7 links