{"id":"CVE-2024-34072","aliases":["CVE-2024-34072","GHSA-wjvx-jhpj-r54r","PYSEC-2026-1889"],"related":[],"kind":"vulnerability","state":"published","title":"Deserialization of Untrusted Data in sagemaker-python-sdk","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nsagemaker.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.\n\nImpacted versions: <2.218.0.\n\n### Credit \n\nWe would like to thank HiddenLayer for collaborating on this issue through the coordinated vulnerability disclosure process.\n\n\n### Workarounds\n\nDo 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 sources you trust.\n\n\n### References\n\nIf you have any questions or comments about this advisory we ask that you contact AWS/Amazon Security via our vulnerability reporting page [1] or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue.\n[1] Vulnerability reporting page: https://aws.amazon.com/security/vulnerability-reporting\n\nFixed by: [https://github.com/aws/sagemaker-python-sdk/pull/4557](https://github.com/aws/sagemaker-python-sdk/pull/4557)","format":"markdown","source":"ghsa"},{"lang":"es","text":"sagemaker-python-sdk es una librería para entrenar e implementar modelos de aprendizaje automático en Amazon SageMaker. El módulo sagemaker.base_deserializers.NumpyDeserializer anterior a v2.218.0 permite una deserialización potencialmente insegura cuando se pasan datos que no son de confianza como matrices de objetos encurtidos. En consecuencia, esto puede permitir que un tercero sin privilegios provoque la ejecución remota de código y la denegación de servicio, afectando tanto la confidencialidad como la integridad. Se recomienda a los usuarios que actualicen a la versión 2.218.0. Los usuarios que no puedan actualizar no deben pasar conjuntos de objetos numerosos y encurtidos que se originaron en una fuente que no es de confianza o que podrían haber sido manipulados. Pase únicamente matrices de objetos numerosos encurtidos de fuentes confiables.","source":"nvd"}],"published":"2024-05-03T10:13:24.557Z","modified":"2026-09-10T03:50:14.667Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-502"],"affected":[{"ranges":[{"version":"< 2.218.0","status":"affected"}],"vendor":"aws","product":"sagemaker-python-sdk","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"-","fixed":"2.218.0","status":"affected"}],"vendor":"aws","product":"sagemaker-python-sdk","cpe":"cpe:2.3:a:aws:sagemaker-python-sdk:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.218.0"}],"ecosystem":"PyPI","package":"sagemaker","purl":"pkg:pypi/sagemaker","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.218.0"}],"ecosystem":"PyPI","package":"sagemaker","purl":"pkg:pypi/sagemaker","source":"pysec"}],"references":[{"url":"https://github.com/aws/sagemaker-python-sdk/security/advisories/GHSA-wjvx-jhpj-r54r","tags":["web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/aws/sagemaker-python-sdk/pull/4557","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34072","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/aws/sagemaker-python-sdk/commit/72e0c9712aec6fbb82fb40fda091dfc2a42c70a0","tags":["fix","web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/aws/sagemaker-python-sdk","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/sagemaker","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-wjvx-jhpj-r54r","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-05-03T17:28:15.418Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-34072","url":"https://www.cve.org/CVERecord?id=CVE-2024-34072","licence":"CVE Terms of Use","modified":"2024-08-02T02:42:59.895Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wjvx-jhpj-r54r","url":"https://github.com/advisories/GHSA-wjvx-jhpj-r54r","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:14.667Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-34072","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34072","licence":"Public domain","modified":"2026-06-17T07:32:51.217Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1889","url":"https://osv.dev/vulnerability/PYSEC-2026-1889","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:49.307Z"}],"updatedAt":"2026-11-25T22:58:39.927Z","epss":{"score":0.00411,"percentile":0.37463,"date":"2026-12-02T12:00:21.000Z"}}