CVE-2024-34073
sagemaker-python-sdk is a library for training and deploying …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/aws/sagemaker-python-sdk/commit/2d873d53f708ea570fc2e2a6974f8c3097fe9df5
- github.com/aws/sagemaker-python-sdk/pull/4556
- github.com/aws/sagemaker-python-sdk/security/advisories/GHSA-7pc3-pr3q-58vg
- nvd.nist.gov/vuln/detail/CVE-2024-34073
- github.com/advisories/GHSA-7pc3-pr3q-58vg
- nvd.nist.gov/vuln/detail/CVE-2024-34073
- cve.org/CVERecord?id=CVE-2024-34073
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.