PyPI: mindspore

CVE-2021-33653

Safety vulnerability ID: SFTY-20220627-25818

Safety legacy ID: pyup.io-65827

When performing the derivation shape operation of the SpaceToBatch operator, if there is a value of 0 in the parameter block_shape element, it will cause a division by 0 exception.

Created at: Jul 5, 2026Updated at: Jul 5, 2026

Overview

When performing the derivation shape operation of the SpaceToBatch operator, if there is a value of 0 in the parameter block_shape element, it will cause a division by 0 exception.

Advisory

When performing the derivation shape operation of the SpaceToBatch operator, if there is a value of 0 in the parameter block_shape element, it will cause a division by 0 exception.

Affected Package

Affecting mindspore package, versions>=0.7.0,<1.3.0

Also affects

---

How to Fix

Upgrademindsporeto2.0.0or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more