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 · 0 comments
Open

disallow matchCriteriaId in new CPE schema? #359

zmanion opened this issue Oct 24, 2024 · 0 comments

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.

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

No branches or pull requests

1 participant