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

CVE package search is exact match only #12477

Closed
nobuto-m opened this issue Jan 30, 2023 · 1 comment
Closed

CVE package search is exact match only #12477

nobuto-m opened this issue Jan 30, 2023 · 1 comment
Assignees

Comments

@nobuto-m
Copy link
Contributor

nobuto-m commented Jan 30, 2023

When searching with a package name, it requires users to type the exact and complete package name.

For example, if a user would like to search MySQL or PostgreSQL CVEs, they must know those database versions beforehand. For example:

"mysql-8.0" returns an expected result for Ubuntu 22.04 LTS.
https://ubuntu.com/security/cves?q=&package=mysql-8.0

However, "mysql" doesn't contains expected result for Ubuntu 22.04 LTS.
https://ubuntu.com/security/cves?q=&package=mysql

The same condition applies to PostgreSQL.

"postgresql-14" works.
https://ubuntu.com/security/cves?q=&package=postgresql-14

However, "postgresql" doesn't contains expected result:
https://ubuntu.com/security/cves?q=&package=postgresql

It would be good if the field allows a partial match or at least offers a checkbox to explicitly enable partial match search.

[with keyword "postgresql-14"]
image

[with keyword "postgresql"]
image


*Reported from: https://ubuntu.com/security/cves?q=

@mtruj013
Copy link
Contributor

mtruj013 commented Jul 2, 2024

Addressed in canonical/ubuntu-com-security-api#153, closing

@mtruj013 mtruj013 closed this as completed Jul 2, 2024
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

3 participants