diff --git a/cve_bin_tool/checkers/glibc.py b/cve_bin_tool/checkers/glibc.py index ddf96a9215..44be79eff8 100644 --- a/cve_bin_tool/checkers/glibc.py +++ b/cve_bin_tool/checkers/glibc.py @@ -34,16 +34,5 @@ class GlibcChecker(Checker): VERSION_PATTERNS = [ r"GNU C Library \([a-zA-Z0-9 \+\-\.]*\) (?:release|stable) release version ([012](\.[0-9]+){1,2})", r"GLIBC ([012](\.[0-9]+){1,2})[a-z0-9+\-]*\) \r?\n", - r"libc-([012](\.[0-9]+){1,2})\.so", # patterns like this aren't ideal (check the end of the file) - r"ld-([012]\.[0-9]+)\.so", # patterns like this aren't ideal - r"libanl-([012](\.[0-9]+){1,2})\.so", # patterns like this aren't ideal - r"ld-([012](\.[0-9]+){1,2})\.so", # patterns like this aren't ideal ] VENDOR_PRODUCT = [("gnu", "glibc")] - - -""" -Using filenames (containing patterns like '.so' etc.) in the binaries as VERSION_PATTERNS aren't ideal. -The reason behind this is that these might depend on who packages the file (like it -might work on fedora but not on ubuntu) -"""