---
id: CVE-2023-2970
aliases:
  - GHSA-x67g-47p3-rc7f
  - PYSEC-2023-81
title: MindSpore vulnerable to memory corruption
summary: MindSpore vulnerable to memory corruption
severity: low
cvss: 3.5
cvssVector: 'CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L'
vendor: mindspore
product: mindspore
ecosystem: pip
affected:
  - mindspore <= 2.0.0-rc1
published: '2023-05-30'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:01.818597170Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-x67g-47p3-rc7f'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-2970'
  - url: 'https://gitee.com/mindspore/mindspore'
  - url: >-
      https://gitee.com/mindspore/mindspore/commit/30f4729ea2c01e1ed437ba92a81e2fc098d608a9
  - url: 'https://gitee.com/mindspore/mindspore/issues/I73DOS'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/mindspore/PYSEC-2023-81.yaml
  - url: 'https://vuldb.com/?ctiid.230176'
  - url: 'https://vuldb.com/?id.230176'
tags:
  - osv
  - pip
epss: 0.00882
epssPercentile: 0.57659
ingestedAt: '2026-09-12T03:13:01.739Z'
---

## Overview

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.

## Affected packages

- `mindspore <= 2.0.0-rc1`

## Remediation

Refer to the advisory for the patched release.
