Skip to content

fix: adjust data modal to allow new or missing nvd data - #28

Open
l4rm4nd wants to merge 1 commit into
binareio:mainfrom
l4rm4nd:main
Open

fix: adjust data modal to allow new or missing nvd data#28
l4rm4nd wants to merge 1 commit into
binareio:mainfrom
l4rm4nd:main

Conversation

@l4rm4nd

@l4rm4nd l4rm4nd commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

This PR fixes the issues outlined in:

NVD has introduced new metric fields that are currently not supported by FastCVE's Pydantic models. Because the models reject unknown fields, affected CVEs can cause API response validation to fail with an HTTP 500 error.

Additionally, some newer CVE records contain configuration entries where the nodes field is missing. FastCVE currently treats this field as mandatory, which can also cause response validation to fail.

This PR makes the CVE models more tolerant of these NVD schema variations and prevents valid search results from failing due to newly introduced or optional fields.

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

Successfully merging this pull request may close these issues.

1 participant