Giter VIP home page Giter VIP logo

Comments (6)

MaineK00n avatar MaineK00n commented on July 18, 2024

ubuntu_api uses ubuntu cve tracker as a data source, and that data source does not include title information.
https://git.launchpad.net/ubuntu-cve-tracker/tree/active/CVE-2012-6655

from vuls.

fredericg78 avatar fredericg78 commented on July 18, 2024

Hi, you use cve tracker since you have switched to the gost DB, making it mandatory for ubuntu (this DB did not exist in previous vuls version and vulnerabilities datas was all there). Are you aware that not having titles for the CVEs anymore is an unacceptable regression? What do you propose to improve this point quickly?
Best regards

from vuls.

MaineK00n avatar MaineK00n commented on July 18, 2024

Previously, the OVAL used by Vuls had a title like this. Even in the case of gost (ubuntu-cve-tracker), do you want to fill in a title like this?

$ goval-dictionary select --by-package ubuntu 23.10 curl | grep "Title:"
    Title:        "CVE-2023-28321 on Ubuntu 23.10 (mantic) - low.",
    Title:        "CVE-2023-28322 on Ubuntu 23.10 (mantic) - low.",
    Title:        "CVE-2023-38039 on Ubuntu 23.10 (mantic) - medium.",
    Title:        "CVE-2023-38545 on Ubuntu 23.10 (mantic) - high.",
    Title:        "CVE-2023-38546 on Ubuntu 23.10 (mantic) - low.",

from vuls.

fredericg78 avatar fredericg78 commented on July 18, 2024

Previously, the OVAL used by Vuls had a title like this. Even in the case of gost (ubuntu-cve-tracker), do you want to fill in a title like this?

$ goval-dictionary select --by-package ubuntu 23.10 curl | grep "Title:"
    Title:        "CVE-2023-28321 on Ubuntu 23.10 (mantic) - low.",
    Title:        "CVE-2023-28322 on Ubuntu 23.10 (mantic) - low.",
    Title:        "CVE-2023-38039 on Ubuntu 23.10 (mantic) - medium.",
    Title:        "CVE-2023-38545 on Ubuntu 23.10 (mantic) - high.",
    Title:        "CVE-2023-38546 on Ubuntu 23.10 (mantic) - low.",

Hi. If the title field has no information, the field should not be present in the json report, so the client app can react accordingly (it chooses what to do when there is no title field, for example, display part of the the summary field as a title). Or vuls itself must have a pattern like you mentionned to fill the title field with available CVE datas.

We use trivy separately in combination with vuls; trivy gives ubuntu CVE specific titles, for example for CVE-2022-2345, title is:
CVE-2022-2345 (os-pkgs / ubuntu):use-after-free in skipwhite() in charset.c

As you can understand, since the vuls update (with gost DB), our interface displays empty CVE titles, and we cannot keep it as is.

Best regards.

from vuls.

MaineK00n avatar MaineK00n commented on July 18, 2024

CVE-2022-2345 (os-pkgs / ubuntu):use-after-free in skipwhite() in charset.c

Reference the trivy data source.
CVE-2022-2345 does not have a title for ubuntu data sources.

Probably, but it seems that redhat bugzilla has this title information.

First, Trivy combines information from multiple data sources and outputs information on detected CVEs. Therefore, there is no need to think of a title for each data source. However, Vuls maintains information for each data source.
For something like Vuls, which has a data structure that preserves each piece of data source information as much as possible, I don't think it's a good idea to arbitrarily supplement title information that isn't in the data source.

from vuls.

fredericg78 avatar fredericg78 commented on July 18, 2024

Hi,
ok, if you follow a requirement which is to preserve each piece of your data sources, i understand you don't want to code any aggregation ou transformation processes from these sources.
So the root issue is from datasources themselves. We cannot trust the title field from vuls report, so we will eliminate it from our vuls json report parsing. However we need a title for GUI display, the CVE description ('summary') is too much long, so we have to create our own CVE titles with custom rules.
Thanks.

from vuls.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.