Skip to content

Commit

Permalink
CVSS 4.0
Browse files Browse the repository at this point in the history
- addresses parts of oasis-tcs#652
- add CVSS 4.0 to `/vulnerabilities[]/scores[]`
  • Loading branch information
tschmidtb51 committed Jan 30, 2024
1 parent 5117d27 commit d282368
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -662,8 +662,8 @@ List of scores (`scores`) of value type `array` with 1 or more items of type sco
},
```

Value type of every such Score item is `object` with the mandatory property `products` and the optional properties `cvss_v2` and
`cvss_v3` specifies information about (at least one) score of the vulnerability and for which products the given value applies.
Value type of every such Score item is `object` with the mandatory property `products` and the optional properties `cvss_v2`,
`cvss_v3` and `cvss_v4` specifies information about (at least one) score of the vulnerability and for which products the given value applies.
Each Score item has at least 2 properties.

```
Expand All @@ -675,7 +675,10 @@ Each Score item has at least 2 properties.
"oneOf": [
// ...
]
}
},
"cvss_v4": {
// ...
},
"products": {
// ...
}
Expand All @@ -689,6 +692,8 @@ The property CVSS v3 (`cvss_v3`) holding a CVSS v3.x value abiding by one of the
[https://www.first.org/cvss/cvss-v3.0.json](https://www.first.org/cvss/cvss-v3.0.json) or
[https://www.first.org/cvss/cvss-v3.1.json](https://www.first.org/cvss/cvss-v3.1.json).

The property CVSS v4 (`cvss_v4`) holding a CVSS v4.0 value abiding by the schema at [https://www.first.org/cvss/cvss-v4.0.json](https://www.first.org/cvss/cvss-v4.0.json).

Product IDs (`products`) of value type `products_t` with 1 or more items indicates for which products the given scores apply.
A score object SHOULD reflect the associated product's status (for example,
a fixed product no longer contains a vulnerability and should have a CVSS score of 0, or simply no score listed;
Expand Down

0 comments on commit d282368

Please sign in to comment.