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

Expose CPE information in more places. #78

Open
captn3m0 opened this issue Jun 25, 2024 · 1 comment
Open

Expose CPE information in more places. #78

captn3m0 opened this issue Jun 25, 2024 · 1 comment

Comments

@captn3m0
Copy link

https://repology.org/security/recent-cpes seems to be the only page that exposes CPE information currently. It would be nice if CPE information was included in other places:

  1. /project/:project/information could include it.
  2. /api/v1/project/:project, but unsure how it would work against various packages.
  3. /all-cpes or something of the sort, with a machine-readable version (/all-cpes.txt) would be great to have.

Use-case: We track repology identifiers at endoflife.date, and while we can use the API to correlate the repology project names with all the various packages (and correspondingly PURLs), we can't do the same for CPEs.

@AMDmi3
Copy link
Member

AMDmi3 commented Jul 9, 2024

I don't think it's a good idea. Consider that CPE bindings are only used internally, only for NVD integration, only for subset projects with known CVEs. NVD per se dictates our CPE bindings, as a result these are broken and unreliable. Not only it's normal to have multiple bindings for a single project, but also due to political reasons NVD avoids to use CPE vendor field for an actual vendor, so it's also normal to have vendors like {foo}_project, and that makes bindings ambiguous in addition to being excessive.

@AMDmi3 AMDmi3 transferred this issue from repology/repology-webapp Nov 15, 2024
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