Project:Security/Bug Searching

This document gives tips and hints for helping filter security-related bugzilla bugs.

All Security Bugs
For identifying all security-related bugs, use the Bugzilla query page and set the following fields:


 * Product: select "Gentoo Security"
 * Status: set this to the type of bug you want to search for (i.e. closed bugs, open bugs, etc.)

This will give you a list of all security bugs in our system (or at least the ones that are properly assigned). You can set the query to only display Vulnerabilities, Kernel issues, or other subsets of Security bugs by setting the Component

"Mark stable" Arch Bugs
When a package has had a security patch applied, it typically needs to be tested before being marked stable on affected architectures. To identify all bugs where a particular arch needs to mark a package stable, use the query page and set the following fields:


 * Product: select "Gentoo Security"
 * Status: set this to "New", "Assigned" and "Reopened" (i.e. don't search for bugs that are closed)
 * Email and Numbering: Any of: "CC list member" should be set to "contains @gentoo.org"

When a package gets patched and requires testing, the security team will CC all relevant arches on that particular bug and request that they test and mark the package as stable on their architecture. Thus, by using the search criteria described above, you'll be able to easily see what bugs require attention for a particular arch.

Architecture Security Liaisons will need additional queries to catch bugs that require their participation. Those bugs could be for instance  ranked bugs that need to be marked stable in the tree, or   bugs that have prestable testing in Bugzilla only. To get a list of these bugs, use the query page and set the following fields:


 * Product: select "Gentoo Security"
 * Status: set this to "New", "Assigned" and "Reopened" (i.e. don't search for bugs that are closed)
 * Email and Numbering: Any of: "CC list member" should be set to "contains @gentoo.org" where is the Gentoo username of the Liaison
 * Advanced Searching Using Boolean Charts: "Group" should be set to "is equal to" and the input field should read "Security".

Bugzilla queries that might be helpful
Gentoo Security Team members and Padawans might find these queries helpful. Except from false positives, bugs listed in these queries need attention from the Security Team.


 * Stale stable, display all open bugs that have "[stable]" in Whiteboard, but no arches in CC.
 * GLSA vote, list of bugs that are fixed in the tree, bug have no GLSA decision yet.
 * Unhandled bugs, bugs that are in no known whiteboard state.
 * No CVE, bugs that carry no CVE identifier in their title.

Acknowledgements
We would like to thank the following authors and editors for their contributions to this guide:


 * Kurt Lieber
 * Robert Buchholz
 * Tobias Heinlein