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

Publishing a CVE record should throw a 400 if datePublic is a future date #1097

Closed
jdaigneau5 opened this issue Jul 12, 2023 · 0 comments
Closed
Assignees

Comments

@jdaigneau5
Copy link
Collaborator

Summary

Currently, the datePublic field in a CVE record can be set to anytime, including future dates. This is misleading because the record will be published immediately after the request is made, regardless of the datePublic field. Validation should be updated to catch instances of datePublic values and throw an error explaining why.

Definition of Done

  • Future datePublic fields are no longer allowed when publishing CVE records
  • A helpful error is thrown explaining the above case (i.e. datePublic times cannot occur in the future)
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