CVE-2025-0508
Python vulnerability analysis and mitigation

Overview

A vulnerability in the SageMaker Workflow component of aws/sagemaker-python-sdk allows for the possibility of MD5 hash collisions in all versions. This vulnerability was discovered and disclosed on March 20, 2025, and is tracked as CVE-2025-0508. The issue affects all versions of the aws/sagemaker-python-sdk package that use MD5 hashing for workflow configurations (NVD).

Technical details

The vulnerability stems from the use of MD5 hashing algorithm in the workflow component for generating hashes of configurations. Due to the cryptographic weaknesses of MD5, different configurations could produce the same hash value, leading to hash collisions. The vulnerability has been assigned a CVSS v3.0 base score of 5.9 (MEDIUM) with a vector of CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N, indicating that while the attack complexity is high, it requires no privileges or user interaction (NVD, GitHub Commit).

Impact

The vulnerability can lead to workflows being inadvertently replaced due to the reuse of results from different configurations that produce the same MD5 hash. This can cause integrity problems within the pipeline, potentially leading to erroneous processing outcomes (NVD).

Mitigation and workarounds

A fix has been implemented that replaces the MD5 hashing algorithm with SHA256 for file hashing throughout the codebase. The change affects multiple functions including hashobject, hashfile, and hashfilesor_dirs (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67511CRITICAL9.6
  • PythonPython
  • cai-framework
NoNoDec 09, 2025
CVE-2025-66645HIGH7.5
  • PythonPython
  • nicegui
NoYesDec 09, 2025
GHSA-9rwj-6rc7-p77cHIGH7.3
  • PythonPython
  • langgraph-checkpoint-sqlite
NoYesDec 10, 2025
CVE-2025-67502MEDIUM5.4
  • PythonPython
  • taguette
NoYesDec 10, 2025
CVE-2025-67485MEDIUM5.3
  • PythonPython
  • mad-proxy
NoNoDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management