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

The Example.com of CVEs: CVE-1969-12345 #10

Open
todb opened this issue Jul 10, 2023 · 0 comments
Open

The Example.com of CVEs: CVE-1969-12345 #10

todb opened this issue Jul 10, 2023 · 0 comments

Comments

@todb
Copy link

todb commented Jul 10, 2023

I've drafted a CVE, CVE-1969-12345 which exercises many, but not all, of the required and optional fields in the current schema. We should publish it, or something like it, in the main corpus. It's useful to have a representative CVE that doesn't actually implicate a particular company or project for illustrative purposes, for basic connectivity and parsing testing, and other things like that. "example.com" fulfills this role for a few different protocols, such as DNS, HTTP, and HTML.

Here is a run at CVE-1969-12345:

https://github.com/todb/junkdrawer/blob/main/CVE-1969-12345.json

I like this number specifically because:

  • 1969 is a real year, but falls outside the expected range of CVEs, and is old enough to be obviously an example.
  • 12345 is a five-digit part, which helps to illustrate that CVE IDs are no longer merely year-fourDigits.

I don't really care about the rest of the elements, and changes are welcome. I think the description should be descriptive of the CVE itself, but beyond that, it shouldn't matter what the other values are. Every required element should be present.

Also, this is not intended to be an all-in-one test case for downstream parses. This is not the job of example.com in its realms, so it shouldn't be the job of this CVE.

QWG could conceivably publish a full test suite of CVEs that's more useful for unit testing for parses, but that's beyond the scope of this ask.

I would love to see a decision on this before the end of July.

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