CVE-2024-34072 json
Deserialization of Untrusted Data in sagemaker-python-sdk
published 2024-05-03 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-1835 , GHSA-wjvx-jhpj-r54r , PYSEC-2026-1889
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 35%
- public exploits
- 0
- none known
Summary
sagemaker-python-sdk is a library for training and deploying machine learning models on Amazon SageMaker. The sagemaker.base_deserializers.NumpyDeserializer module before v2.218.0 allows potentially unsafe deserialization when untrusted data is passed as pickled object arrays. This consequently may allow an unprivileged third party to cause remote code execution, denial of service, affecting both confidentiality and integrity. Users are advised to upgrade to version 2.218.0. Users unable to upgrade should not pass pickled numpy object arrays which originated from an untrusted source, or that could have been tampered with. Only pass pickled numpy object arrays from trusted sources.
Patch / fix
- pypi sagemaker 2.218.0
- aws sagemaker-python-sdk 2.218.0
- github.com/aws/sagemaker-python-sdk@72e0c97 commit
- github.com/aws/sagemaker-python-sdk#4557 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
0.41% chance of exploitation in the next 30 days, higher than 35% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | sagemaker | <2.218.0 |
2.218.0 |
Affected products
- aws sagemaker-python-sdk
Classification
- Weakness
-
- CWE-502 Deserialization of Untrusted Data
References
-
github.com
/aws/sagemaker-python-sdk/pull/4557
web
-
github.com
/aws/sagemaker-python-sdk/commit/72e0c9712aec6fbb82fb40fda091dfc2a42c70a0
web, patch
-
github.com
/aws/sagemaker-python-sdk/security/advisories/GHSA-wjvx-jhpj-r54r
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-34072
advisory
-
github.com
/aws/sagemaker-python-sdk
package
-
pypi.org
/project/sagemaker
package
-
github.com
/advisories/GHSA-wjvx-jhpj-r54r
advisory
Sources
- CVE List CVE-2024-34072
- GitHub Advisory GHSA-wjvx-jhpj-r54r
- NVD CVE-2024-34072
- OSV PYSEC-2026-1889
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.