mirror of
https://github.com/fkie-cad/nvd-json-data-feeds.git
synced 2025-06-08 14:07:32 +00:00
104 lines
5.6 KiB
JSON
104 lines
5.6 KiB
JSON
{
|
|
"license": [
|
|
"Copyright (c) 2017, FIRST.ORG, INC.",
|
|
"All rights reserved.",
|
|
"",
|
|
"Redistribution and use in source and binary forms, with or without modification, are permitted provided that the ",
|
|
"following conditions are met:",
|
|
"1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following ",
|
|
" disclaimer.",
|
|
"2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the ",
|
|
" following disclaimer in the documentation and/or other materials provided with the distribution.",
|
|
"3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote ",
|
|
" products derived from this software without specific prior written permission.",
|
|
"",
|
|
"THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, ",
|
|
"INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE ",
|
|
"DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, ",
|
|
"SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR ",
|
|
"SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, ",
|
|
"WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE ",
|
|
"OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
|
|
],
|
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "cvss-v2.0.schema.json",
|
|
"title": "JSON Schema for Common Vulnerability Scoring System version 2.0",
|
|
"type": "object",
|
|
"definitions": {
|
|
"accessVectorType": {
|
|
"type": "string",
|
|
"enum": [ "NETWORK", "ADJACENT_NETWORK", "LOCAL" ]
|
|
},
|
|
"accessComplexityType": {
|
|
"type": "string",
|
|
"enum": [ "HIGH", "MEDIUM", "LOW" ]
|
|
},
|
|
"authenticationType": {
|
|
"type": "string",
|
|
"enum": [ "MULTIPLE", "SINGLE", "NONE" ]
|
|
},
|
|
"ciaType": {
|
|
"type": "string",
|
|
"enum": [ "NONE", "PARTIAL", "COMPLETE" ]
|
|
},
|
|
"exploitabilityType": {
|
|
"type": "string",
|
|
"enum": [ "UNPROVEN", "PROOF_OF_CONCEPT", "FUNCTIONAL", "HIGH", "NOT_DEFINED" ]
|
|
},
|
|
"remediationLevelType": {
|
|
"type": "string",
|
|
"enum": [ "OFFICIAL_FIX", "TEMPORARY_FIX", "WORKAROUND", "UNAVAILABLE", "NOT_DEFINED" ]
|
|
},
|
|
"reportConfidenceType": {
|
|
"type": "string",
|
|
"enum": [ "UNCONFIRMED", "UNCORROBORATED", "CONFIRMED", "NOT_DEFINED" ]
|
|
},
|
|
"collateralDamagePotentialType": {
|
|
"type": "string",
|
|
"enum": [ "NONE", "LOW", "LOW_MEDIUM", "MEDIUM_HIGH", "HIGH", "NOT_DEFINED" ]
|
|
},
|
|
"targetDistributionType": {
|
|
"type": "string",
|
|
"enum": [ "NONE", "LOW", "MEDIUM", "HIGH", "NOT_DEFINED" ]
|
|
},
|
|
"ciaRequirementType": {
|
|
"type": "string",
|
|
"enum": [ "LOW", "MEDIUM", "HIGH", "NOT_DEFINED" ]
|
|
},
|
|
"scoreType": {
|
|
"type": "number",
|
|
"minimum": 0,
|
|
"maximum": 10
|
|
}
|
|
},
|
|
"properties": {
|
|
"version": {
|
|
"description": "CVSS Version",
|
|
"type": "string",
|
|
"enum": [ "2.0" ]
|
|
},
|
|
"vectorString": {
|
|
"type": "string",
|
|
"pattern": "^((AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))/)*(AV:[NAL]|AC:[LMH]|Au:[MSN]|[CIA]:[NPC]|E:(U|POC|F|H|ND)|RL:(OF|TF|W|U|ND)|RC:(UC|UR|C|ND)|CDP:(N|L|LM|MH|H|ND)|TD:(N|L|M|H|ND)|[CIA]R:(L|M|H|ND))$"
|
|
},
|
|
"accessVector": { "$ref": "#/definitions/accessVectorType" },
|
|
"accessComplexity": { "$ref": "#/definitions/accessComplexityType" },
|
|
"authentication": { "$ref": "#/definitions/authenticationType" },
|
|
"confidentialityImpact": { "$ref": "#/definitions/ciaType" },
|
|
"integrityImpact": { "$ref": "#/definitions/ciaType" },
|
|
"availabilityImpact": { "$ref": "#/definitions/ciaType" },
|
|
"baseScore": { "$ref": "#/definitions/scoreType" },
|
|
"exploitability": { "$ref": "#/definitions/exploitabilityType" },
|
|
"remediationLevel": { "$ref": "#/definitions/remediationLevelType" },
|
|
"reportConfidence": { "$ref": "#/definitions/reportConfidenceType" },
|
|
"temporalScore": { "$ref": "#/definitions/scoreType" },
|
|
"collateralDamagePotential": { "$ref": "#/definitions/collateralDamagePotentialType" },
|
|
"targetDistribution": { "$ref": "#/definitions/targetDistributionType" },
|
|
"confidentialityRequirement": { "$ref": "#/definitions/ciaRequirementType" },
|
|
"integrityRequirement": { "$ref": "#/definitions/ciaRequirementType" },
|
|
"availabilityRequirement": { "$ref": "#/definitions/ciaRequirementType" },
|
|
"environmentalScore": { "$ref": "#/definitions/scoreType" }
|
|
},
|
|
"required": [ "version", "vectorString", "baseScore" ]
|
|
} |