summaryrefslogtreecommitdiffstats
path: root/check-external
diff options
context:
space:
mode:
authorSalvatore Bonaccorso <carnil@debian.org>2016-04-24 13:00:39 +0000
committerSalvatore Bonaccorso <carnil@debian.org>2016-04-24 13:00:39 +0000
commitba2e52a9fde8c13813c0e8e01f6540a28d1fb925 (patch)
treee2e50d3dd93b99fe20f7681327fb829be1d8c458 /check-external
parenta30398d1f52513bd1fda3730e942e0514de48df4 (diff)
Add check for Red Hat source using Red Hat bugzilla
git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@41113 e39458fd-73e7-0310-bf30-c45bca0a0e42
Diffstat (limited to 'check-external')
-rwxr-xr-xcheck-external/update.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/check-external/update.sh b/check-external/update.sh
index 4148f031a3..1e6ea81a40 100755
--- a/check-external/update.sh
+++ b/check-external/update.sh
@@ -41,6 +41,12 @@ check_list() {
# 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

© 2014-2024 Faster IT GmbH | imprint | privacy policy