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

fix(linux): add logic to parse the upstream package name #1286

Open
FernandoRojo opened this issue Oct 28, 2024 · 0 comments
Open

fix(linux): add logic to parse the upstream package name #1286

FernandoRojo opened this issue Oct 28, 2024 · 0 comments

Comments

@FernandoRojo
Copy link
Contributor

Why?
Many Linux distributions (debian/alpine/mariner) publish CVE data against source package names only, so this is required for users to CVE check against the output of component-detection.

Note: Syft doesn't always provide the source package name (it doesn't appear to provide this for ubuntu packages when the source and binary package names are the same).

The package name does not always line up 100% with the upstream or source name. For example some Linux distributions suffix the major version to differentiate i.e. python2 and python3. These should both be mapped back to python.

Initial code updates were introduced in these PRs: #88 #126

But they need to be revisited after becoming stale and having a large number of conflicts.

We will reintroduce a PR to resolve this issue once there is enough priority.

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

No branches or pull requests

1 participant