-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support ecosystem severity under severity[] #323
Comments
Thanks for the proposal! And sorry for the slow response -- just coming back after the holiday period. Our initial intent was indeed to rely on Regarding the actual semantics of this proposal, we have two Adding in some other distro PoCs for comment: @Roo4L (AlmaLinux) And also @darakian @andrewpollock (other schema maintainers). |
@oliverchang thanks for the feedback! I want to clarify this part:
The severity definitions are defined by the ecosystem. For example, the definition of a Red Hat severity of Important won't change across databases, as it is defined by Red Hat. Just to be clear, I'm not against your proposal but given that |
Thanks for the clarifying your rationale! My main concern is that there isn't a concept of a top level ecosystem in OSV records -- there may be many ecosystems encoded within a single record under multiple Perhaps
|
The idea of this new severity type is not to provide a single top-level one but to use it just as another type. Probably, most cases would only have one instance (the one from the publisher) but multiple different ones could live in the same report, so it would be no different than the Following with your example, let's say Oracle Linux provides its severity but also wants to provides Red Hat one, because in this case there is a difference and that wants to be stated. Both of them would coexists under {
"id": "ID-1234",
"severity": [
{
"type": "ECOSYSTEM",
"score": "Low",
"namespace": "https://access.redhat.com/security/updates/classification"
},
{
"type": "ECOSYSTEM",
"score": "Moderate",
"namespace": "https://oracle-linux/security-ratings"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N"
}
],
"affected": [
{
"package": {
...
} About |
Hi! I am no longer maintaining OSV entries in AlmaLinux, please contact @andrewlukoshko about this. |
Currently, the schema allows CVSS severities under
severity[]
.Nevertheless, you can find references to other severities under other
areas:
summary
(AlmaLinux, RockyLinux)ecosystem_specific
(Android, Ubuntu)database_specific
(Bitnami, GitHub issues)references
(RedHat)It's common practice for security teams to provide a severity related to
the security issue within their ecosystem. The severities previously
mentioned are examples of them.
This presents a problem within the schema: publishers have the need to
provide this ecosystem severity, but there is no defined way to do so.
This results in having several references to
severity
within thedocument and no standard way to retrieve this ecosystem severity, since
each publisher is taking a different approach.
Given that
severity[]
already exists, it would make sense to have anECOSYSTEM
type severity. This is the same type used for providingversion ranges, so this wouldn't be unexpected. A
namespace
optionalfield could be used to provide a reference to the meaning of the score
as per the ecosystem, similar to how it's done in CVE records.
An example using Red Hat namespace:
This proposal was developed with feedback from Red Hat and Ubuntu, that
already support this request.
The text was updated successfully, but these errors were encountered: