title | description | author | ms.localizationpriority | ms.subservice | doc_type |
---|---|---|---|---|---|
Get vulnerability |
Read the properties and relationships of a vulnerability object. |
joerattazzi-microsoft |
medium |
security |
apiPageType |
Namespace: microsoft.graph.security
[!INCLUDE beta-disclaimer]
[!INCLUDE threatintelligence-api-disclaimer]
Read the properties and relationships of a vulnerability object.
[!INCLUDE national-cloud-support]
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.
[!INCLUDE permissions-table]
GET /security/threatIntelligence/vulnerabilities/{vulnerabilityId}
This method supports some of the OData query parameters to help customize the response. For general information, see OData query parameters.
Name | Description |
---|---|
Authorization | Bearer {token}. Required. Learn more about authentication and authorization. |
Don't supply a request body for this method.
If successful, this method returns a 200 OK
response code and a microsoft.graph.security.vulnerability object in the response body.
The following example shows a request.
GET https://graph.microsoft.com/beta/security/threatIntelligence/vulnerabilities/CVE-2021-44228
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
[!INCLUDE sample-code] [!INCLUDE sdk-documentation]
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/",
}
]
}
}