Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-33648

When performing the inference shape operation of Affine, Concat, MatMul, ArgMinMax, EmbeddingLookup, and Gather operators, if the input shape size is 0, it will access data outside of bounds of shape which allocated from heap buffers.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-33648
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:27 UTC · Revision 1

Source evidence

CVE-2021-33648

core-osv · Original source

Published 27 Jun 2022, 17:15 UTC

When performing the inference shape operation of Affine, Concat, MatMul, ArgMinMax, EmbeddingLookup, and Gather operators, if the input shape size is 0, it will access data outside of bounds of shape which allocated from heap buffers.

osv:CVE-2021-33648
Complete source record
{
  "id": "bf1affce18d41ea2d3131519cfd93abfbc04f06bc4efa63715317f6cbfb05702",
  "url": "https://osv.dev/vulnerability/CVE-2021-33648",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-33648",
    "summary": "When performing the inference shape operation of Affine, Concat, MatMul, ArgMinMax, EmbeddingLookup, and Gather operators, if the input shape size is 0, it will access data outside of bounds of shape which allocated from heap buffers.",
    "evidence": "osv:CVE-2021-33648",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-33648",
      "aliases": [
        "CVE-2021-33648"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mindspore-ai/mindspore",
              "type": "GIT",
              "events": [
                {
                  "introduced": "b2874463c2b865dc97e920ee12c722a3db0235b7"
                },
                {
                  "fixed": "cfbb0d0dfad1fa4e6f6b8310f6e2cf79db639213"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mindspore:mindspore:*:*:*:*:*:openeuler:*:*",
                    "range": [
                      {
                        "introduced": "1.1.0"
                      },
                      {
                        "fixed": "1.3.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-33648.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:18.522858836Z",
      "provider": "osv",
      "references": [
        "https://gitee.com/mindspore/community/blob/master/security/security_advisory_list/mssa-2021-007_en.md"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-33648",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 429789,
  "published_at": "2022-06-27T17:15:08.67+00:00"
}