Update CVE ID syntax validator
authorJonathan S. Katz <jonathan.katz@excoventures.com>
Sun, 21 Mar 2021 18:54:32 +0000 (14:54 -0400)
committerJonathan S. Katz <jonathan.katz@excoventures.com>
Sat, 27 Mar 2021 19:15:31 +0000 (15:15 -0400)
commitb263f705f5ed5b7bd9d338f701cbc3c624899e85
treef556877250155e9886e797e2ead5414c20c91565
parentd5f9dc59dc9acf179a71c8db176c0d2dfae291f3
Update CVE ID syntax validator

The current validator stopped after 5 digits, whereas there can
be an aribtrary amount. However, the MITRE docs appear to stop at
7, so this seems like a sane cut-off, until it's not[1].

[1] https://cve.mitre.org/cve/identifiers/syntaxchange.html#new
pgweb/security/models.py