We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7a7237 commit 36ce5e1Copy full SHA for 36ce5e1
vulnerabilities/utils.py
@@ -42,7 +42,7 @@
42
43
logger = logging.getLogger(__name__)
44
45
-cve_regex = re.compile(r"CVE-\d{4}-\d{4,7}", re.IGNORECASE)
+cve_regex = re.compile(r"CVE-[0-9]{4}-[0-9]{4,19}", re.IGNORECASE)
46
is_cve = cve_regex.match
47
find_all_cve = cve_regex.findall
48
0 commit comments