Skip to content
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

disallow matchCriteriaId in new CPE schema? #359

Open
zmanion opened this issue Oct 24, 2024 · 1 comment
Open

disallow matchCriteriaId in new CPE schema? #359

zmanion opened this issue Oct 24, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request section:affected_product Schema location is affected or product

Comments

@zmanion
Copy link
Contributor

zmanion commented Oct 24, 2024

From https://github.com/CVEProject/cve-schema/releases/tag/v5.1.1-rc2:

The syntax and format of the cpeApplicability block matches that used by the NIST NVD CVE API JSON v2.0 schema (configurations). NOTE: The “matchCriteriaId” property is optional in the CVE Record Format.

IIUC matchCriteriaId is created by the NVD to identify a CPE match statement and is effectively "internal" to the NVD database, I can't see any reason for an external party to generate or use a matchCriteriaId unless that party is operating their own NVD-like database. It may only be confusing to allow matchCriteriaId in CVE data, so consider not allowing it at all.

This doesn't have to hold up the release of 5.1.1 with new CPE support, but if I'm not wrong (and I could be), and if CNAs start submitting matchCriteriaId, we'll be supporting increased confusion.

@jayjacobs jayjacobs added the Needs Discussion Discuss in a future QWG meeting or on mailing list label Oct 31, 2024
@ccoffin
Copy link
Collaborator

ccoffin commented Oct 31, 2024

Discussed in 10/31/2024 QWG. Allowing this would be very convenient for CNAs who want to synchronize their local cpeApplicability blocks to NVD. Will coordinate with NVD to see if this can be synchronized in some way.

@jayjacobs jayjacobs added enhancement New feature or request section:affected_product Schema location is affected or product and removed Needs Discussion Discuss in a future QWG meeting or on mailing list labels Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request section:affected_product Schema location is affected or product
Projects
None yet
Development

No branches or pull requests

3 participants