{"schemaVersion":4,"id":"CVE-2024-34072","aliases":["GHSA-wjvx-jhpj-r54r","PYSEC-2026-1889"],"status":"published","duplicateOf":null,"title":"Deserialization of Untrusted Data in sagemaker-python-sdk","description":"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.","dates":{"published":"2024-05-03T10:13:24.557Z","modified":"2024-08-02T02:42:59.895Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00408,"percentile":0.37148,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":-0.0029999999999999645,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00411},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00806,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00806,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00806,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00806,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00806,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00806,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00408,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00408,"percentile":0.37148}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00806,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00806,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00806,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00806,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00806,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00806,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00411,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00408,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00408,"percentile":0.37148}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-502","name":"Deserialization of Untrusted Data","description":"The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/502.html"}],"affected":[{"vendor":"aws","product":"sagemaker-python-sdk","name":"sagemaker-python-sdk","label":"sagemaker-python-sdk","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.218.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.218.0","endInclusive":false}}],"versionsText":"< 2.218.0","eol":null,"hubHref":"/vendor/aws/sagemaker-python-sdk"},{"vendor":"PyPI","product":"sagemaker","name":"sagemaker","label":"sagemaker","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/sagemaker","purlType":"pypi","versions":[{"text":"< 2.218.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"2.218.0","endInclusive":false}}],"versionsText":"< 2.218.0","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/aws/sagemaker-python-sdk/security/advisories/GHSA-wjvx-jhpj-r54r","label":"github.com/aws/sagemaker-python-sdk/security/advisories/GHSA-wjvx-jhpj-r54r","hostname":"github.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://github.com/aws/sagemaker-python-sdk/pull/4557","label":"github.com/aws/sagemaker-python-sdk/pull/4557","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34072","label":"nvd.nist.gov/vuln/detail/CVE-2024-34072","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/aws/sagemaker-python-sdk/commit/72e0c9712aec6fbb82fb40fda091dfc2a42c70a0","label":"github.com/aws/sagemaker-python-sdk/commit/72e0c9712aec6fbb82fb40fda091dfc2a42c70a0","hostname":"github.com","tags":["WEB","FIX"]},{"url":"https://github.com/aws/sagemaker-python-sdk","label":"github.com/aws/sagemaker-python-sdk","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://pypi.org/project/sagemaker","label":"pypi.org/project/sagemaker","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-wjvx-jhpj-r54r","label":"github.com/advisories/GHSA-wjvx-jhpj-r54r","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2024-05-03T10:13:24.557Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-02T02:42:59.895Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,78],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00408,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2024-08-02T02:42:59.895Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1","headline":true},{"type":"cvss","source":"osv_pypi","date":"2024-08-02T02:42:59.895Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"cvss","source":"nvd","date":"2024-08-02T02:42:59.895Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2024-05-03T17:28:15.418Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00408,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T10:02:10.250Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T10:02:10.837Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T10:02:11.033Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T10:01:03.214Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T10:02:08.667Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T10:02:07.694Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T10:20:19.548Z","stale":false,"partial":false}}