Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Support for flatpak and snap #2016

Open
Deadlyelder opened this issue Sep 3, 2024 · 2 comments
Open

[Feature] Support for flatpak and snap #2016

Deadlyelder opened this issue Sep 3, 2024 · 2 comments

Comments

@Deadlyelder
Copy link

Support for finding vulnerabilities for packages installed via flatpak and snap package managers due to their widespread use.

@MaineK00n
Copy link
Collaborator

MaineK00n commented Sep 3, 2024

What are you going to use for vulnerability information on the packages provided by flatpak and snap?
I don't think NVD is enough.

I agree with the idea of ​​collecting packages handled by snap/flatpak as a way of organizing asset information.

@Deadlyelder
Copy link
Author

Deadlyelder commented Sep 3, 2024

You are correct that relying solely on the NVD is not enough, but it is a good starting point since it provides information about installed Flatpak and Snap packages. While the accuracy (or rather the confidence level) in the vulnerability is limited, this is mainly due to the lack of security advisories from Flatpak and Snap. However, by notifying users through vuls, we might encourage the developers there to consider publishing such advisories.

In other words since vuls already provides a switch to show/hide results, we try to leverage this by alerting users of the package presence. Accurate identification of vulnerabilities will only be possible once Flatpak and Snap offer security advisories.

Another consideration is that if Snap or Flatpak maintainers were to map their package names to existing CPE or WDF identifiers, it would greatly simplify the task at hand.

In the meantime, we try to make the best of the available resources, including modifying the go-cve-dictionary (PR 400 submitted) to support the queries we use in vuls for covering Snap and Flatpak.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants