Skip to content

Support for OWASP Risk Ratings in VEX documents #3262

@fahedouch

Description

@fahedouch

Description

Hey everyone,

I'd like to propose adding support for OWASP Risk Ratings from CycloneDX VEX documents.

Why?

The CycloneDX spec now recommends that tools consider ratings when prioritizing vulnerabilities (spec PR #722):

"Consumers SHOULD consider ratings in prioritization decisions"

CVSS scores are generic. The same CVE has different risk levels depending on your context (network exposure, data sensitivity, etc.). VEX documents can include these context-aware ratings, but Grype currently ignores them.

What changes?

Add an optional OWASPRating field so Grype can display context-aware risk assessments from VEX documents when available. Fully backward compatible.

Example

json { "VulnerabilityID": "CVE-2011-3374", "Severity": "LOW", "OWASPRating": { "severity": "medium", "score": 27.5 } }

Now you see both the generic CVSS severity and your specific risk assessment.

Use case

Tools like vens generate these ratings. This lets Grype users prioritize based on actual risk, not just CVSS scores.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestvexrelating to vulnerability exchange documents

    Type

    No type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions