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

Removal of restrictions within the /cves/ 2.0 API schema #6577

Closed
alinposho opened this issue Apr 11, 2024 · 2 comments
Closed

Removal of restrictions within the /cves/ 2.0 API schema #6577

alinposho opened this issue Apr 11, 2024 · 2 comments
Labels

Comments

@alinposho
Copy link

I received the following email from NVD:

Removal of restrictions within the /cves/ 2.0 API schema

To enable more flexibility within our API output we need to remove certain restrictions from the existing 2.0 API schemas.

Why does this matter?
All existing API users will need to update to the 2.1.0 /cves/ schema or later.
Many systems reference a cached or local version of a schema when performing validation. Since the /cves/ schema prior to 2.1.0 is overly restrictive, any system that references an older version of the schema that contains additionalProperties: false in the locations changed may no longer validate against future 2.0 API output.
We plan to begin including new data types within the 2.0 API output in the near future. We advise updating any schema references within the next 30 days.

What changes were made?
Removed additionalProperties: false from the following objects:

"cve_item":
"reference":
"metrics":

Similar information is available at our news page.

For questions and concerns, you may contact nvd@nist.gov.

How will this change in the NVD API affect DependencyCheck? And do I need to open a feature request for any changes that need to be done?

@aikebah
Copy link
Collaborator

aikebah commented Apr 12, 2024

Will require update of the open-vulnerability-clients library once that is updated. See also jeremylong/Open-Vulnerability-Project#154

@jeremylong
Copy link
Owner

Note that while we created jeremylong/Open-Vulnerability-Project#158 - there are no impactful changes due to the schema change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants