Skip to content

Security: bump onnx, transformers, and torch to patch moderate/high vulnerabilities (FHUB-257) - #984

Merged
Eyal-Danieli merged 2 commits into
mlrun:developmentfrom
Eyal-Danieli:fix/sec-vul
Aug 17, 2026
Merged

Security: bump onnx, transformers, and torch to patch moderate/high vulnerabilities (FHUB-257)#984
Eyal-Danieli merged 2 commits into
mlrun:developmentfrom
Eyal-Danieli:fix/sec-vul

Conversation

@Eyal-Danieli

@Eyal-Danieli Eyal-Danieli commented Aug 16, 2026

Copy link
Copy Markdown
Member

Bumps vulnerable dependencies flagged by Dependabot. Versions are updated in both requirements.txt (CI unit tests) and item.yaml spec.requirements (built function image) so the fix reaches the deployed image.

onnx_utils

  • onnx: 1.17.x1.22.0 — resolves 4 high + 3 medium alerts (path traversal via symlink, TOCTOU arbitrary file read/write, malicious-model server crash, null-pointer deref).

toxicity_guardrail

  • transformers: 4.47.0/4.46.35.5.0 — resolves high (RCE, unsafe deserialization, LightGlue code execution) and multiple medium ReDoS alerts.
  • torch: 2.6.02.11.0 — resolves 3 medium memory-corruption alerts; also aligns the previously inconsistent requirements.txt and item.yaml pins.

Notes

  • transformers is a major bump (4.x → 5.x); please review toxicity_guardrail.py for API changes and confirm the item's unit tests pass.

@Eyal-Danieli Eyal-Danieli changed the title Security: bump onnx, transformers, and torch to patch moderate/high vulnerabilities Security: bump onnx, transformers, and torch to patch moderate/high vulnerabilities (FHUB-257) Aug 16, 2026
@Eyal-Danieli
Eyal-Danieli merged commit 070793d into mlrun:development Aug 17, 2026
4 checks passed
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.

2 participants