Repository navigation
Replies: 2 comments 1 reply
|
Late followup and I can pick some nits with your examples, but I think I read them as all pointing at making ambiguous statements less common (or impossible if/when the warn becomes a fail). If that is not a fair read let me know, but if so then to your two questions; yes and yes. I think there may be valid cases (at least in practice) where the first two examples are valid. eg.
Case 2 is not a good use of the system, but unless/until the ADP system becomes generally available it may be the best of a set of bad practical options. Longer conversation there, but these two cases may not merit warnings/failures. Examples 3 is a CVE in a state of existential crisis. If we assume the purpose of a CVE is to express that there exists and problem in one or more things and the canonical set of things is Example 4 is the same as example 3 and is why Going further though, a validation library could look for and warn/fail on any sort of overlap. Take a case where If a CVE is published with a conflicting set of assertions and some org is unlucky enough to be using the ambiguous version then their response to the CVE will be delayed as they need to independently resolve that ambiguity. Maybe that costs them 3 minutes, maybe that costs them 3 weeks. Depends on the details, but it's a cost we can design out. I will say, that in order for overlapping ranges to be detectable we do need to revisit the concept of what a |
|
Discussed in 9/10/2026 QWG Meeting:
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Purpose:
This will be one of multiple discussions to query the QWG and others on how best to use the upcoming CVE Services Validation Library for performing additional or more accurate CVE Record Format JSON schema validation during record ingest. The Validation Library will allow the CVE Program to perform programmatic validations beyond what the current JSON schema validation can provide. A simple example might be where we want to validate that a provided CWE ID actually exists by referencing the current CWE List. This is not possible using JSON schema validation, but would be possible with the Validation Library.
Discussion:
Each versions array item is required to contain a status property that defines whether the specified version or version range is affected, unaffected, or unknown. Related to this, a defaultStatus property exists at the product definition that provides the default status of affected, unaffected, or unknown for all versions not otherwise listed in the versions specific within the versions array. For example, you can specify a defaultStatus equal to 'unaffected,' and then define a versions array item that includes a range of versions with the status value equal to 'affected.' In that case, anything that falls outside of the versions array range would be considered unaffected. If the defaultStatus property is not specified, the default value is 'unknown.'
Past efforts to check CVE records for common issues has found that there were many cases where CNAs used a defaultStatus equal to 'affected' while also defining one or more versions array items with a status of 'affected.' It was found that what was originally intended was for the defaultStatus to be 'unaffected' in those cases. There may be some legitimate cases for both defaultStatus and status to be affected, but they are likely very rare. We will need to discuss and determine if these cases should be a Fail or a Warn for this reason.
Schema Location(s):
https://github.com/CVEProject/cve-schema/blob/main/schema/CVE_Record_Format.json#L282
https://github.com/CVEProject/cve-schema/blob/main/schema/CVE_Record_Format.json#L315
Question(s):
Examples:
All reactions