We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45b9ec3 commit 4c6fdabCopy full SHA for 4c6fdab
cve_bin_tool/checkers/python.py
@@ -19,6 +19,7 @@ class PythonChecker(Checker):
19
]
20
FILENAME_PATTERNS = [r"python"]
21
VERSION_PATTERNS = [
22
+ r"src\\python[23]\\Python-([23]+\.[0-9]+\.[0-9]+)",
23
r"python(?:[23]+\.[0-9]+)-([23]+\.[0-9]+\.[0-9]+)",
24
r"pymalloc_debug\r?\n([23]+\.[0-9]+\.[0-9]+)",
25
r"([23]+\.[0-9]+\.[0-9]+)\r?\nPython %s",
test/test_data/python.py
@@ -27,6 +27,11 @@
27
"version": "3.10.9",
28
"version_strings": ["3.10.9\n%.80s (%.80s) %.80s"],
29
},
30
+ {
31
+ "product": "python",
32
+ "version": "3.12.8",
33
+ "version_strings": ["C:\\omnibus-ruby\\src\\python3\\Python-3.12.8\\PCbuild\\amd64\\pythonw.pdb"],
34
+ },
35
36
package_test_data = [
37
{
0 commit comments