Add artifactID
/artifactType
to product in affected
array
#410
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
affected
array is an array containingproduct
objects, which must at minimum include an "identifier" (which may be a composite identifier composed of multiple fields) along with a set of version bounds or a default status. Products may also specify an assortment of additional fields which further constrain the applicability of the CVE to its intended target hardware or software.Previously, the set of identifiers available were:
vendor
andproduct
collectionURL
andpackageName
This commit adds support for a new pair of fields to support using OmniBOR Artifact IDs as identifiers in the
affected
array:artifactID
: The OmniBOR Artifact ID for an artifact.artifactType
: An enum indicating whether theartifactID
is for an artifact to search in a file system for, or whether it's a build input to search against OmniBOR Input Manifests.The commit also adds data constraints to ensure this new identifier pair is not used alongside fields that don't make sense to use with OmniBOR, including the other identifier schemes, further decomposition information like
programFiles
orprogramRoutines
, and version information.This work is submitted as an alternative formulation of the design proposed in the draft RFD on software identifiers 1, and as an alternative to the existing proposals for making the
cpeApplicability
structure generic 2 (instead of it being CPE-specific) and enhancing this new generic applicability structure with support for OmniBOR Artifact IDs 3.If this change is accepted, then 2 and 3 should not be accepted.