-
Notifications
You must be signed in to change notification settings - Fork 32
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
Vulnerability Detector: Test Windows vulnerabilities with different cpe settings #798
Comments
Update 2023/01/09In the process of research. |
Update 2023/01/11Working on a simulated agent that inserts in the database the following package:
So, the query will get the following:
The purpose of this is to get the following log in the
|
Update 2023/01/13After analyzing the
So, the function call will be something like this:
|
* feat(#798): add new test to check missing fields in cpe_helper file * refactor(#798): refactor code style and add changelog comment * refactor(#798): refactor test timeout * refactor(#798): refactor code style * refactor(#798): replace read and write file function * refactor(#798): refactor code and add new tests * refactor(#798): refactor code style * refactor: add tier mark to CPE helper tests --------- Co-authored-by: jmv74211 <[email protected]>
* feat(#798): add new test to check missing fields in cpe_helper file * refactor(#798): refactor code style and add changelog comment * refactor(#798): refactor test timeout * refactor(#798): refactor code style * refactor(#798): replace read and write file function * refactor(#798): refactor code and add new tests * refactor(#798): refactor code style * refactor: add tier mark to CPE helper tests --------- Co-authored-by: jmv74211 <[email protected]>
* feat(#798): add new test to check missing fields in cpe_helper file * refactor(#798): refactor code style and add changelog comment * refactor(#798): refactor test timeout * refactor(#798): refactor code style * refactor(#798): replace read and write file function * refactor(#798): refactor code and add new tests * refactor(#798): refactor code style * refactor: add tier mark to CPE helper tests --------- Co-authored-by: jmv74211 <[email protected]>
Description
The goal of this issue is to check if the Windows alerts appear when the vulnerability CPE contains different files instead of using
*
that matches with everything, for example, setting architecturex86_64
should only report a vulnerability forx86_64
packages.The fields that we have to test are:
These have to be set in the CPE section of the NVD feed and in the package inserted in the database.
Configuration and considerations
Use Cases
For the following test cases, verify that no issue (memory leaks, service down...) appears during the feed parsing, and the vulnerability database (
cve.db
) is properly filled with the vulnerabilities from the feeds.set_version_if_product_matches
, so that it shows the new Debug message.Development stage
The text was updated successfully, but these errors were encountered: