aboutcode-org / vulnerablecode

A free and open vulnerabilities database and the packages they impact. And the tools to aggregate and correlate these vulnerabilities. Sponsored by NLnet https://nlnet.nl/project/vulnerabilitydatabase/ for https://www.aboutcode.org/ Chat at https://gitter.im/aboutcode-org/vulnerablecode Docs at https://vulnerablecode.readthedocs.org/
https://public.vulnerablecode.io
Apache License 2.0
519 stars 190 forks source link

Also parse text and HTML OpenSSL feeds #1128

Open pombredanne opened 1 year ago

pombredanne commented 1 year ago

OpenSSL publishes an XML feed that we parse but this is not updated https://www.openssl.org/news/vulnerabilities.html and https://www.openssl.org/news/secadv/ should be alternative good sources.

keshav-space commented 1 year ago

OpenSSL also provides an updated JSON feed https://www.openssl.org/news/secjson

pombredanne commented 4 months ago

I filed https://github.com/openssl/web/issues/483 upstream as this is problematic. At the moment the ways to solve this issue would be:

  1. Scrape the HTML page to get the list of known vulnerabilities OpenSSL ids and CVEs
  2. Fetch the corresponding JSON for each CVE as is https://www.openssl.org/news/secjson/CVE-2002-0659.json
  3. Alternatively parse the unstructured text as in https://www.openssl.org/news/secadv/20240115.txt

(note that the date used by OpenSSL as a vulnerability ID is different from the CVE id)

pombredanne commented 3 weeks ago

Just some status:

With all this, scraping the web page is likely the way out: