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

When patching packages, design how to track modifications #158

Open
pombredanne opened this issue Nov 27, 2024 · 0 comments
Open

When patching packages, design how to track modifications #158

pombredanne opened this issue Nov 27, 2024 · 0 comments

Comments

@pombredanne
Copy link
Member

When a package is modified locally in a codebase, we should be able track these modifications and how to identify them.

Why? Because a package may have been:

  1. patched for a regular bug
  2. patched for a security vulnerability
  3. patched for a new or altered feature
  4. updated for corrected metadata (such as origin, license, dependencies)
  5. renamed or its version changed (or not :] )

In all these cases, we may have some problems if we do not known about this:

  • we may report it as vulnerable when this is not the case
  • we may not report it as vulnerable when this is the case
  • we may match it it incorrectly to an upstream version or an altered version

Tracking could be done in ABOUT files, in DejaCode and the PurlDB and be used by downstream processes to avoid false negative and false positive lookups. This is especially important when we have renamed packages that are patched but where the original unpatched package and the patched version could be both vulnerable.

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

No branches or pull requests

1 participant