Skip to content
Heist/ feed
Back to feed
Low

MindSpore json_helper.cc UpdateArray memory corruption

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-2970
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:43 UTC · Revision 1

Source evidence

MindSpore json_helper.cc UpdateArray memory corruption

core-osv · Original source

Published 30 May 2023, 05:31 UTC

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.

osv:CVE-2023-2970
Complete source record
{
  "id": "0a7ee3c1d3d867d92329f360cf6c57f1cd5f2780a1935ec5cfd5d89b8865a393",
  "url": "https://osv.dev/vulnerability/CVE-2023-2970",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "MindSpore json_helper.cc UpdateArray memory corruption",
    "summary": "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.",
    "evidence": "osv:CVE-2023-2970",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2023-2970",
      "aliases": [
        "CVE-2023-2970",
        "GHSA-x67g-47p3-rc7f",
        "PYSEC-2023-81"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mindspore-ai/mindspore",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1ffbc36d029930140e0d9f11ee22a0618def89a0"
                },
                {
                  "last_affected": "ea0b5f5238ce0d2dfece6467621aab4b6a40fb7e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mindspore:mindspore:2.0.0:alpha:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0-alpha"
                      },
                      {
                        "last_affected": "2.0.0-alpha"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:mindspore:mindspore:2.0.0:rc1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0-rc1"
                      },
                      {
                        "last_affected": "2.0.0-rc1"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.0.0-alpha",
            "2.0.0-rc1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-2970.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.394614588Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2970.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-2970",
        "https://vuldb.com/?id.230176",
        "https://gitee.com/mindspore/mindspore/issues/I73DOS",
        "https://vuldb.com/?ctiid.230176",
        "https://gitee.com/mindspore/mindspore/commit/30f4729ea2c01e1ed437ba92a81e2fc098d608a9"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-119"
        ],
        "cna_assigner": "VulDB",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.0.0-alpha"
                  },
                  {
                    "last_affected": "2.0.0-alpha"
                  },
                  {
                    "introduced": "2.0.0-rc1"
                  },
                  {
                    "last_affected": "2.0.0-rc1"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2970.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-2970",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504862,
  "published_at": "2023-05-30T05:31:03.695+00:00"
}