Skip to content

Commit

Permalink
chg: [stream] Added detection of vulnerabilities from GSD, CSAF CERT-…
Browse files Browse the repository at this point in the history
…Bund, CSAF CISCO, and CSAF Hedhat.
  • Loading branch information
cedricbonhomme committed Nov 5, 2024
1 parent 487ff14 commit 11615ea
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion fedivuln/stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ def __init__(self, sighting: bool = False):
self.vulnerability_pattern = re.compile(
r"\b(CVE-\d{4}-\d{4,})\b" # CVE pattern
r"|\b(GHSA-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4}-[a-zA-Z0-9]{4})\b" # GHSA pattern
r"|\b(PYSEC-\d{4}-\d{2,5})\b", # PYSEC pattern
r"|\b(PYSEC-\d{4}-\d{2,5})\b" # PYSEC pattern
r"|\b(GSD-\d{4}-\d{4,5})\b" # GSD pattern
r"|\b(wid-sec-w-\d{4}-\d{4})\b" # CERT-Bund pattern
r"|\b(cisco-sa-\d{8}-[a-zA-Z0-9]+)\b" # CISCO pattern
r"|\b(RHSA-\d{4}:\d{4})\b", # RedHat pattern
re.IGNORECASE,
)
self.sighting = sighting
Expand Down

0 comments on commit 11615ea

Please sign in to comment.