diff options
author | Salvatore Bonaccorso <carnil@debian.org> | 2016-04-24 13:00:39 +0000 |
---|---|---|
committer | Salvatore Bonaccorso <carnil@debian.org> | 2016-04-24 13:00:39 +0000 |
commit | 1fb0ce83faebb5042268fe93864f3415c77af585 (patch) | |
tree | 74f6b1f3569abcf14c9a5af09f5503d1fefb45e5 | |
parent | c90523da8a1d9ea342b78c5cd15b14a1b1270c5c (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
-rwxr-xr-x | check-external/update.sh | 6 |
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 |