Skip to content

fix: the fingerprinting function at fingerprints in fingerprints.py#226

Open
orbisai0security wants to merge 1 commit intopathwaycom:mainfrom
orbisai0security:fix-v004-replace-md5-with-sha256-fingerprints
Open

fix: the fingerprinting function at fingerprints in fingerprints.py#226
orbisai0security wants to merge 1 commit intopathwaycom:mainfrom
orbisai0security:fix-v004-replace-md5-with-sha256-fingerprints

Conversation

@orbisai0security
Copy link
Copy Markdown

Summary

Fix high severity security issue in python/pathway/internals/fingerprints.py.

Vulnerability

Field Value
ID V-004
Severity HIGH
Scanner multi_agent_ai
Rule V-004
File python/pathway/internals/fingerprints.py:17

Description: The fingerprinting function at fingerprints.py:17 uses hashlib.md5 to compute data fingerprints used throughout the Pathway dataflow engine for deduplication, caching, and integrity checking. MD5 is a cryptographically broken hash algorithm — practical collision attacks have been demonstrated since 2004, and chosen-prefix collision attacks are feasible with commodity hardware. An attacker who can craft two different inputs with the same MD5 hash can cause the engine to treat distinct data objects as identical, corrupting pipeline results.

Changes

  • python/pathway/internals/fingerprints.py

Verification

  • Build passes
  • Scanner re-scan confirms fix
  • LLM code review passed

Automated security fix by OrbisAI Security

Automated security fix generated by Orbis Security AI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant