vulsio / gost

Build a local copy of Security Tracker. Notify via E-mail/Slack if there is an update.
MIT License
133 stars 44 forks source link

feat(ubuntu): add 24.04 noble #249

Closed MaineK00n closed 6 months ago

MaineK00n commented 8 months ago

What did you implement:

add ubuntu 24.04

Type of change

How Has This Been Tested?

$ gost fetch ubuntu 
INFO[04-30|15:41:03] Initialize Database 
INFO[04-30|15:41:04] Fetched                                  CVEs=48077
INFO[04-30|15:41:04] Insert Ubuntu into DB                    db=sqlite3
48077 / 48077 [-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 100.00% 490 p/s

$ sqlite3 gost.sqlite3 "SELECT EXISTS(SELECT * FROM ubuntu_release_patches WHERE release_name = 'noble')"
1

$ gost server
$ curl -s http://127.0.0.1:1325/ubuntu/2404/pkgs/linux/unfixed-cves | jq
{
  "CVE-2013-7445": {
    "public_date_at_usn": "1000-01-01T00:00:00Z",
    "crd": "1000-01-01T00:00:00Z",
    "candidate": "CVE-2013-7445",
    "public_date": "2015-10-16T01:59:00Z",
    "references": [
      {
        "reference": "https://lists.freedesktop.org/archives/dri-devel/2015-September/089778.html (potential start towards fixing)"
      },
...

Checklist:

You don't have to satisfy all of the following.

Is this ready for review?: YES

Reference