Get vulnerability

Namespace: microsoft.graph.security

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Note

The Microsoft Graph API for Microsoft Defender Threat Intelligence requires an active Defender Threat Intelligence Portal license and API add-on license for the tenant.

Read the properties and relationships of a vulnerability object.

This API is available in the following national cloud deployments.

Global service US Government L4 US Government L5 (DOD) China operated by 21Vianet

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

Permission type Least privileged permissions Higher privileged permissions
Delegated (work or school account) ThreatIntelligence.Read.All Not available.
Delegated (personal Microsoft account) Not supported. Not supported.
Application ThreatIntelligence.Read.All Not available.

HTTP request

GET /security/threatIntelligence/vulnerabilities/{vulnerabilityId}

Optional query parameters

This method supports some of the OData query parameters to help customize the response. For general information, see OData query parameters.

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

If successful, this method returns a 200 OK response code and a microsoft.graph.security.vulnerability object in the response body.

Examples

Request

The following example shows a request.

GET https://graph.microsoft.com/beta/security/threatIntelligence/vulnerabilities/CVE-2021-44228

Response

The following example shows the response.

Note: The response object shown here might be shortened for readability.

HTTP/1.1 200 OK
Content-Type: application/json

{
  "value": {
    "@odata.type": "#microsoft.graph.security.vulnerability",
    "id": "CVE-2021-44228",
    "createdDateTime": "2021-11-27T13:18:28.240Z",
    "lastModifiedDateTime": "2023-02-06T18:53:00.000Z",
    "publishedDateTime": "2021-12-10T18:15:00.000Z",
    "description": {
      "@odata.type": "microsoft.graph.security.formattedContent",
      "content": "Apache Log4j2 2.0-beta9 through 2.15.0 (excluding security releases 2.12.2, 2.12.3, and 2.3.1) JNDI features used in configuration, log messages, and parameters do not protect against attacker controlled LDAP and other JNDI related endpoints...",
      "format": "markdown"
    },
    "remediation": {
      "@odata.type": "microsoft.graph.security.formattedContent",
      "content": "##### Upgrade Apache Log4j to 2.15.0...",
      "format": "markdown"
    },
    "priorityScore": 100,
    "severity": "high",
    "commonWeaknessEnumerationIds": [
      "CWE-20",
      "CWE-400",
      "CWE-502"
    ],
    "cvss2Summary": {
      "@odata.type": "microsoft.graph.security.cvssSummary",
      "score": 9.3,
      "severity": "high",
      "vectorString": "AV:N/AC:M/Au:N/C:C/I:C/A:C"
    },
    "cvss3Summary": {
      "@odata.type": "microsoft.graph.security.cvssSummary",
      "score": 10.0,
      "severity": "critical",
      "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"
    },
    "hasChatter": "true",
    "exploitsAvailable": "true",
    "activeExploitsObserved": "true",
    "exploits": [
      {
        "@odata.type": "microsoft.graph.security.hyperlink",
        "name": "http://packetstormsecurity.com/files/165225/Apache-Log4j2-2.14.1-Remote-Code-Execution.html",
        "url": "http://packetstormsecurity.com/files/165225/Apache-Log4j2-2.14.1-Remote-Code-Execution.html"
      }
    ],
    "references": [
      {
        "@odata.type": "microsoft.graph.security.hyperlink",
        "name": "Microsoft’s Response to CVE-2021-44228 Apache Log4j 2",
        "url": "https://msrc-blog.microsoft.com/2021/12/11/microsofts-response-to-cve-2021-44228-apache-log4j2/",
      }
    ]
  }
}