Skip to content

Commit 3eaa676

Browse files
authored
fix: update avahi checker (#5339)
Update avahi pattern to detect avahi version in avahi-autoipd Signed-off-by: Fabrice Fontaine <[email protected]>
1 parent 5fee6ef commit 3eaa676

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cve_bin_tool/checkers/avahi.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,7 @@
1414
class AvahiChecker(Checker):
1515
CONTAINS_PATTERNS = []
1616
FILENAME_PATTERNS = [r"avahi-daemon"]
17-
VERSION_PATTERNS = [r"avahi[a-zA-Z \r\n'-/.%:-]*([0-9]+\.[0-9]+\.?[0-9]*)[/\r\n]"]
17+
VERSION_PATTERNS = [
18+
r"avahi[a-zA-Z4 \(\)\r\n'-/.%:]*([0-9]+\.[0-9]+\.?[0-9]*)[/\r\n]"
19+
]
1820
VENDOR_PRODUCT = [("avahi", "avahi")]

0 commit comments

Comments
 (0)