Skip to content

Add Ubuntu severity type to the schema and docs#337

Merged
oliverchang merged 2 commits intoossf:mainfrom
dodys:ubuntu-severity
Mar 3, 2025
Merged

Add Ubuntu severity type to the schema and docs#337
oliverchang merged 2 commits intoossf:mainfrom
dodys:ubuntu-severity

Conversation

@dodys
Copy link
Contributor

@dodys dodys commented Feb 19, 2025

Relates to issue #323

Relates to issue ossf#323

Signed-off-by: Eduardo Barretto <eduardo.barretto@canonical.com>
Copy link
Collaborator

@oliverchang oliverchang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

docs/schema.md Outdated
| `CVSS_V2` | A CVSS vector string representing the unique characteristics and severity of the vulnerability using a version of the [Common Vulnerability Scoring System notation](https://www.first.org/cvss/v2/guide#Metric-Groups) that is == 2.0 (e.g.`"AV:L/AC:M/Au:N/C:N/I:P/A:C"`).|
| `CVSS_V3` | A CVSS vector string representing the unique characteristics and severity of the vulnerability using a version of the [Common Vulnerability Scoring System notation](https://www.first.org/cvss/v3.0/specification-document#Vector-String) that is >= 3.0 and < 4.0 (e.g.`"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N"`).|
| `CVSS_V4` | A CVSS vector string representing the unique characteristics and severity of the vulnerability using a version on the [Common Vulnerability Scoring System notation](https://www.first.org/cvss/v4.0/specification-document#Vector-String) that is >= 4.0 and < 5.0 (e.g. `"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"`). |
| `Ubuntu` | The [Ubuntu priority](https://ubuntu.com/security/cves/about#priority) is based on many factors including severity, importance, risk, estimated number of affected users, software configuration, active exploitation, and other factors.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add more details on the expected string formatting? Form the json schema it seems like we expect these to be lowercased?

@oliverchang
Copy link
Collaborator

friendly ping @dodys :)

Co-authored-by: Oliver Chang <oliverchang@users.noreply.github.com>
Signed-off-by: Eduardo Barretto <edusbarretto@gmail.com>
@oliverchang oliverchang merged commit 10ada0b into ossf:main Mar 3, 2025
3 of 4 checks passed
cuixq added a commit to google/osv.dev that referenced this pull request Jun 20, 2025
ossf/osv-schema#337 introduces Ubuntu severity
type to the schema and this PR adds this severity type to
`vulnerability.proto`.
another-rex pushed a commit that referenced this pull request Jul 15, 2025
Ubuntu severity type was added to the schema in
#337 and this PR updates the
constants in Go bindings with Ubuntu severity type.

Signed-off-by: Xueqin Cui <cuixq@google.com>
progval added a commit to progval/osv that referenced this pull request Dec 19, 2025
progval added a commit to progval/osv that referenced this pull request Dec 19, 2025
progval added a commit to progval/osv that referenced this pull request Dec 19, 2025
progval added a commit to progval/osv that referenced this pull request Dec 19, 2025
Includes:

* 1.7.0:
  * ossf/osv-schema#312 (`upstream` field)
  * ossf/osv-schema#319
  * ossf/osv-schema#337 (`Ubuntu` as `severity` score)
* 1.7.1: nothing
* 1.7.2:
  * ossf/osv-schema#351
  * ossf/osv-schema#347
  * ossf/osv-schema#358
* 1.7.3:
  * ossf/osv-schema#394
* 1.7.4: ossf/osv-schema#434
  * ossf/osv-schema#357
tiegz pushed a commit to tiegz/osv-schema that referenced this pull request Jan 28, 2026
Relates to issue ossf#323

---------

Signed-off-by: Eduardo Barretto <eduardo.barretto@canonical.com>
Signed-off-by: Eduardo Barretto <edusbarretto@gmail.com>
Co-authored-by: Oliver Chang <oliverchang@users.noreply.github.com>
tiegz pushed a commit to tiegz/osv-schema that referenced this pull request Jan 28, 2026
Ubuntu severity type was added to the schema in
ossf#337 and this PR updates the
constants in Go bindings with Ubuntu severity type.

Signed-off-by: Xueqin Cui <cuixq@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants