[Secure-testing-commits] r41113 - check-external

Salvatore Bonaccorso carnil at moszumanska.debian.org
Sun Apr 24 13:00:39 UTC 2016


Author: carnil
Date: 2016-04-24 13:00:39 +0000 (Sun, 24 Apr 2016)
New Revision: 41113

Modified:
   check-external/update.sh
Log:
Add check for Red Hat source using Red Hat bugzilla

Modified: check-external/update.sh
===================================================================
--- check-external/update.sh	2016-04-24 13:00:35 UTC (rev 41112)
+++ check-external/update.sh	2016-04-24 13:00:39 UTC (rev 41113)
@@ -41,6 +41,12 @@
 #    sort > cve.list
 #check_list cve.list
 
+# Fetch some CVE information directly from Red Hat Bugzilla
+# This should be better done via a rewrite and using python-bugzilla
+# but it is sufficient for now to get some additional CVE information
+# from Red Hat source
+wget -O redhat-bugzilla.html 'https://bugzilla.redhat.com/buglist.cgi?classification=Other&component=vulnerability&f1=alias&o1=regexp&product=Security%20Response&query_format=advanced&v1=^CVE-.*&order=priority%2Cbug_severity&limit=0'
+sed -rn '/CVE-[12][0-9]{2,}-/{s/^.+(CVE-[12][0-9]{3}-[0-9]{4,}).+$/\1/;T;p}' redhat-bugzilla.html | sort > cve.list
 check_list cve.list
 
 # List of issues fixed by each vendor, according to MITRE. Very




More information about the Secure-testing-commits mailing list