{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": [
              "cpe:2.3:a:microsoft:.net:*:*:*:*:*:*:*:*",
              "cpe:2.3:a:microsoft:.net_core:*:*:*:*:*:*:*:*"
            ],
            "extracted_events": [
              {
                "introduced": "5.0"
              },
              {
                "last_affected": "5.0.5"
              },
              {
                "introduced": "3.1"
              },
              {
                "last_affected": "3.1.14"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "62bcac3998e1168f4a34b775a06d6451b5ffca7b"
            },
            {
              "last_affected": "f248b40c185672a063fac81d0d69be2658586d4c"
            },
            {
              "introduced": "5c0a0489d157ca82fca6f9b73c682f118e8c4a8a"
            },
            {
              "last_affected": "eee68008af483cc3f273ce53fa9919c53d32d410"
            }
          ],
          "repo": "https://github.com/dotnet/core",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "unresolved_ranges": [
      {
        "cpes": [
          "cpe:2.3:a:microsoft:visual_studio_2019:*:*:*:*:*:*:*:*"
        ],
        "extracted_events": [
          {
            "introduced": "16.0"
          },
          {
            "fixed": "16.4.22"
          },
          {
            "introduced": "16.5.0"
          },
          {
            "fixed": "16.7.15"
          },
          {
            "introduced": "16.8.0"
          },
          {
            "fixed": "16.9.5"
          }
        ],
        "source": "CPE_RANGE",
        "vendor_product": "microsoft:visual_studio_2019"
      },
      {
        "cpes": [
          "cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*",
          "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*",
          "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"
        ],
        "extracted_events": [
          {
            "introduced": "32"
          },
          {
            "last_affected": "32"
          },
          {
            "introduced": "33"
          },
          {
            "last_affected": "33"
          },
          {
            "introduced": "34"
          },
          {
            "last_affected": "34"
          }
        ],
        "source": "CPE_STRING",
        "vendor_product": "fedoraproject:fedora"
      },
      {
        "cpes": [
          "cpe:2.3:a:microsoft:visual_studio_2019:8.9:*:*:*:*:macos:*:*"
        ],
        "extracted_events": [
          {
            "introduced": "8.9"
          },
          {
            "last_affected": "8.9"
          }
        ],
        "source": "CPE_STRING",
        "vendor_product": "microsoft:visual_studio_2019"
      }
    ]
  },
  "details": ".NET and Visual Studio Elevation of Privilege Vulnerability",
  "id": "CVE-2021-31204",
  "modified": "2026-07-08T05:38:33.232678657Z",
  "published": "2021-05-11T19:15:10.327Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4F3VM3RMPE7PNNLLI3BPCSAXITQZCFCA/"
    },
    {
      "type": "WEB",
      "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6M7KL3KTHJVQNRA3CWFUTESQJARQEHSZ/"
    },
    {
      "type": "WEB",
      "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FVMWZPF4FR6JPFSNAIDIUDULHZJBVCW6/"
    },
    {
      "type": "WEB",
      "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LFXJPQUYUITJMV75YN3XIGE3KKN5GOCU/"
    },
    {
      "type": "WEB",
      "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UV4ITB3SUDGR23G7XALUVKFJMZERFUKF/"
    },
    {
      "type": "WEB",
      "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZWF25Z3CZ6LYCOHZ7FPSFAQ426JUBUZ4/"
    },
    {
      "type": "FIX",
      "url": "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31204"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}