From ae6b2b42bf56c72b75a0fdd4340e64b689f234bf Mon Sep 17 00:00:00 2001 From: Noam Rathaus Date: Sun, 16 May 2021 16:12:59 +0300 Subject: [PATCH] Shorter check --- cves/2020/CVE-2020-9490.yaml | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/cves/2020/CVE-2020-9490.yaml b/cves/2020/CVE-2020-9490.yaml index 55db3a4cae..3e8880d350 100644 --- a/cves/2020/CVE-2020-9490.yaml +++ b/cves/2020/CVE-2020-9490.yaml @@ -18,22 +18,7 @@ requests: - "{{BaseURL}}" matchers: - - type: word - words: - - "Apache/2.4.20" - - "Apache/2.4.23" - - "Apache/2.4.25" - - "Apache/2.4.26" - - "Apache/2.4.27" - - "Apache/2.4.28" - - "Apache/2.4.29" - - "Apache/2.4.30" - - "Apache/2.4.33" - - "Apache/2.4.34" - - "Apache/2.4.35" - - "Apache/2.4.37" - - "Apache/2.4.38" - - "Apache/2.4.39" - - "Apache/2.4.43" + - type: regex + regex: + - "Apache/2\.4\.(2[0356789]|3[0345789]|43)$" part: header - condition: or