Microsoft.ML.OnnxRuntime is vulnerable to Out-of-bound read
53
Medium Risk
Affected versions of this package contain an out-of-bounds read vulnerability in ONNX Runtime’s ArrayFeatureExtractor operator due to missing validation for negative index values. The implementation checks only the upper bound (<= stride) but fails to ensure the index is non-negative, allowing crafted inputs such as y_data = [-10] to access memory outside the intended array. An attacker able to supply or influence model inputs could exploit this flaw to read unintended heap memory regions during inference, potentially leaking sensitive data from the process memory.
You are affected if you are using a version that falls within the vulnerable range.
Microsoft.ML.OnnxRuntime is vulnerable to Out-of-bound read in versions 0.1.4 - 1.24.1.
Upgrade the Microsoft.ML.OnnxRuntime library to a patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant