---
agentTools:
  projectIndex: https://spyse-dev.readme.io/llms.txt
---

# Details

Returns details about the MITRE CVE by its identifier.

# OpenAPI definition

````json
{
  "openapi": "3.0.0",
  "info": {
    "description": "The purpose of this application is to provide authorized access to the data of the spyse project.",
    "title": "Data API",
    "version": "4.0.0"
  },
  "paths": {
    "/cve/{cve_id}": {
      "get": {
        "description": "Returns details about the MITRE CVE by its identifier.",
        "tags": [
          "CVEs"
        ],
        "summary": "Details",
        "operationId": "cve_details",
        "parameters": [
          {
            "description": "MITRE CVE unique identifier. Example: ```CVE-2020-1927```.",
            "name": "cve_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Operation successful",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CVEResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.spyse.com/v4/data/"
    }
  ],
  "security": [
    {
      "api_key": []
    }
  ],
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "http",
        "scheme": "bearer"
      }
    },
    "schemas": {
      "CVE": {
        "type": "object",
        "properties": {
          "conditions": {
            "description": "The conditions conductive to the vulnerability exploitation success.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Conditions"
            },
            "x-go-name": "Conditions"
          },
          "description": {
            "$ref": "#/components/schemas/Descriptions"
          },
          "id": {
            "description": "CVE unique identifier.",
            "type": "string",
            "x-go-name": "ID"
          },
          "impact": {
            "$ref": "#/components/schemas/CVEImpact"
          },
          "lastModifiedDate": {
            "$ref": "#/components/schemas/CVEModifiedDate"
          },
          "problemtype": {
            "$ref": "#/components/schemas/ProblemType"
          },
          "publishedDate": {
            "$ref": "#/components/schemas/CVEPublishedDate"
          },
          "references": {
            "$ref": "#/components/schemas/References"
          }
        }
      },
      "CVEBaseMetricCVSSV2": {
        "type": "object",
        "properties": {
          "accessComplexity": {
            "type": "string",
            "x-go-name": "AccessComplexity"
          },
          "accessVector": {
            "type": "string",
            "x-go-name": "AccessVector"
          },
          "authentication": {
            "type": "string",
            "x-go-name": "Authentication"
          },
          "availabilityImpact": {
            "type": "string",
            "x-go-name": "AvailabilityImpact"
          },
          "baseScore": {
            "type": "number",
            "format": "float",
            "x-go-name": "BaseScore"
          },
          "confidentialityImpact": {
            "type": "string",
            "x-go-name": "ConfidentialityImpact"
          },
          "integrityImpact": {
            "type": "string",
            "x-go-name": "IntegrityImpact"
          },
          "vectorString": {
            "type": "string",
            "x-go-name": "VectorString"
          },
          "version": {
            "type": "string",
            "x-go-name": "Version"
          }
        }
      },
      "CVEBaseMetricCVSSV3": {
        "type": "object",
        "properties": {
          "attackComplexity": {
            "type": "string",
            "x-go-name": "AttackComplexity"
          },
          "attackVector": {
            "type": "string",
            "x-go-name": "AttackVector"
          },
          "availabilityImpact": {
            "type": "string",
            "x-go-name": "AvailabilityImpact"
          },
          "baseScore": {
            "type": "number",
            "format": "float",
            "x-go-name": "BaseScore"
          },
          "baseSeverity": {
            "type": "string",
            "x-go-name": "BaseSeverity"
          },
          "confidentialityImpact": {
            "type": "string",
            "x-go-name": "ConfidentialityImpact"
          },
          "integrityImpact": {
            "type": "string",
            "x-go-name": "IntegrityImpact"
          },
          "privilegesRequired": {
            "type": "string",
            "x-go-name": "PrivilegesRequired"
          },
          "scope": {
            "type": "string",
            "x-go-name": "Scope"
          },
          "userInteraction": {
            "type": "string",
            "x-go-name": "UserInteraction"
          },
          "vectorString": {
            "type": "string",
            "x-go-name": "VectorString"
          },
          "version": {
            "type": "string",
            "x-go-name": "Version"
          }
        }
      },
      "CVEBaseMetricV2": {
        "type": "object",
        "properties": {
          "acInsufInfo": {
            "type": "boolean",
            "x-go-name": "AcInSufInfo"
          },
          "cvssV2": {
            "$ref": "#/components/schemas/CVEBaseMetricCVSSV2"
          },
          "exploitabilityScore": {
            "type": "number",
            "format": "float",
            "x-go-name": "ExploitabilityScore"
          },
          "impactScore": {
            "type": "number",
            "format": "float",
            "x-go-name": "ImpactScore"
          },
          "obtainAllPrivilege": {
            "type": "boolean",
            "x-go-name": "ObtainAllPrivilege"
          },
          "obtainOtherPrivilege": {
            "type": "boolean",
            "x-go-name": "ObtainOtherPrivilege"
          },
          "obtainUserPrivilege": {
            "type": "boolean",
            "x-go-name": "ObtainUserPrivilege"
          },
          "severity": {
            "type": "string",
            "x-go-name": "Severity"
          },
          "userInteractionRequired": {
            "type": "boolean",
            "x-go-name": "UserInteractionRequired"
          }
        }
      },
      "CVEBaseMetricV3": {
        "type": "object",
        "properties": {
          "cvssV3": {
            "$ref": "#/components/schemas/CVEBaseMetricCVSSV3"
          },
          "exploitabilityScore": {
            "type": "number",
            "format": "float",
            "x-go-name": "ExploitabilityScore"
          },
          "impactScore": {
            "type": "number",
            "format": "float",
            "x-go-name": "ImpactScore"
          }
        }
      },
      "CVEImpact": {
        "description": "The impact the described vulnerability has on the systems CVE examines",
        "type": "object",
        "properties": {
          "baseMetricV2": {
            "$ref": "#/components/schemas/CVEBaseMetricV2"
          },
          "baseMetricV3": {
            "$ref": "#/components/schemas/CVEBaseMetricV3"
          }
        }
      },
      "CVEModifiedDate": {
        "description": "CVE modified date",
        "type": "object"
      },
      "CVEPublishedDate": {
        "description": "CVE publication date",
        "type": "object"
      },
      "CVEResponse": {
        "description": "CVEResponse includes returning data",
        "type": "object",
        "properties": {
          "data": {
            "$ref": "#/components/schemas/CVEResponseData"
          }
        }
      },
      "CVEResponseData": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CVE"
            },
            "x-go-name": "Items"
          }
        }
      },
      "Conditions": {
        "type": "object",
        "properties": {
          "application": {
            "type": "string",
            "x-go-name": "Application"
          },
          "cpe_prefix": {
            "type": "string",
            "x-go-name": "CPEPrefix"
          },
          "hardware": {
            "type": "string",
            "x-go-name": "Hardware"
          },
          "operation_system": {
            "type": "string",
            "x-go-name": "OperationSystem"
          },
          "version_end_excluding": {
            "type": "string",
            "x-go-name": "VersionEndExcluding"
          },
          "version_end_excluding_representation": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "VersionEndExcludingRepresent"
          },
          "version_end_including": {
            "type": "string",
            "x-go-name": "VersionEndIncluding"
          },
          "version_end_including_representation": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "VersionEndIncludingRepresent"
          },
          "version_start_excluding": {
            "type": "string",
            "x-go-name": "VersionStartExcluding"
          },
          "version_start_excluding_representation": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "VersionStartExcludingRepresent"
          },
          "version_start_including": {
            "type": "string",
            "x-go-name": "VersionStartIncluding"
          },
          "version_start_including_representation": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "VersionStartIncludingRepresent"
          }
        }
      },
      "DescriptionData": {
        "type": "object",
        "properties": {
          "lang": {
            "type": "string",
            "x-go-name": "Language"
          },
          "value": {
            "type": "string",
            "x-go-name": "Value"
          }
        }
      },
      "Descriptions": {
        "description": "Descriptions is unique and provides the relevant details to help users (1) find the CVE Record for a specific vulnerability, and/or (2) distinguish between similar-looking vulnerabilities.",
        "type": "object",
        "properties": {
          "description_data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DescriptionData"
            },
            "x-go-name": "DescriptionData"
          }
        }
      },
      "Error": {
        "description": "Error is represents response error model",
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "x-go-name": "Code"
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FieldError"
            },
            "x-go-name": "Errors"
          },
          "message": {
            "type": "string",
            "x-go-name": "Message"
          }
        }
      },
      "ErrorResponse": {
        "description": "ErrorResponse is returned on request handling error",
        "type": "object",
        "properties": {
          "error": {
            "$ref": "#/components/schemas/Error"
          }
        }
      },
      "FieldError": {
        "description": "FieldError is represents response fields error model",
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "x-go-name": "Code"
          },
          "location": {
            "type": "string",
            "x-go-name": "Location"
          },
          "message": {
            "type": "string",
            "x-go-name": "Message"
          }
        }
      },
      "ProblemType": {
        "description": "The list of common weaknesses (CWE) assigned to the vulnerability",
        "type": "object",
        "properties": {
          "problemtype_data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProblemTypeData"
            },
            "x-go-name": "ProblemTypeData"
          }
        }
      },
      "ProblemTypeData": {
        "type": "object",
        "properties": {
          "description": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DescriptionData"
            },
            "x-go-name": "Description"
          }
        }
      },
      "References": {
        "description": "Each CVE Record includes appropriate References. Each reference used in CVE (1) identifies the source, (2) includes a well-defined identifier to facilitate searching on a source's website, and (3) notes the associated CVE ID.",
        "type": "object",
        "properties": {
          "reference_data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReferencesData"
            },
            "x-go-name": "ReferencesData"
          }
        }
      },
      "ReferencesData": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "x-go-name": "Name"
          },
          "refsource": {
            "type": "string",
            "x-go-name": "RefSource"
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "x-go-name": "Tags"
          },
          "url": {
            "type": "string",
            "x-go-name": "URL"
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 96,
      "1": 116,
      "2": 57,
      "3": 140,
      "4": 54,
      "5": 155,
      "6": 214,
      "7": 2,
      "8": 125,
      "9": 74,
      "10": 155,
      "11": 87
    }
  }
}
````