Browsing security vulnerabilities in the GitHub Advisory Database
The GitHub Advisory Database allows you to browse or search for vulnerabilities that affect open source projects on GitHub.
- 关于 GitHub Advisory Database
- Accessing an advisory in the GitHub Advisory Database
- Searching the GitHub Advisory Database
关于 GitHub Advisory Database
漏洞是项目代码中的问题，可能被利用来损害机密性、完整性或者该项目或其他使用其代码的项目的可用性。 The GitHub Advisory Database contains a curated list of security vulnerabilities that have been mapped to any package tracked by the GitHub dependency graph. Each advisory listing includes information like the affected repository, as well as the vulnerable and patched versions. The database is also accessible using the GraphQL API. For more information, see "SecurityAdvisoryEvent" in GitHub 开发者文档.
We use the following sources to add vulnerabilities to the GitHub Advisory Database:
- The National Vulnerability Database
- A combination of machine learning and human review to detect vulnerabilities in public commits on GitHub
- Security advisories on GitHub
GitHub will send you a security alert if we detect any of the vulnerabilities from the GitHub Advisory Database affecting your repository. For more information, see "About security alerts for vulnerable dependencies."
Advisories from the National Vulnerability Database list will contain a link to the CVE record, where you can read more details about the vulnerability, its CVSS scores, and its qualitative severity level. For more information, see the "National Vulnerability Database" from the National Institute of Standards and Technology.
我们在常见漏洞评分系统 (CVSS) 第 2.1.2 节中定义了以下四种可能的严重性等级：
You can also join GitHub Security Lab to browse security-related topics and contribute to security tools and projects.
Accessing an advisory in the GitHub Advisory Database
- 导航到 https://github.com/advisories。
- Optionally, to filter the list use, any of the drop-down menus.
- Click on any advisory to view details.
Searching the GitHub Advisory Database
You can search the database, and use qualifiers to narrow your search to advisories created on a certain date, in a specific ecosystem, or in a particular library.
Date formatting must follow the ISO8601 standard, which is
You can also add optional time information
THH:MM:SS+00:00 after the date, to search by the hour, minute, and second. That's
T, followed by
HH:MM:SS (hour-minutes-seconds), and a UTC offset (
Dates support greater than, less than, and range qualifiers.
||ecosystem:npm will show only advisories affecting NPM packages.|
||severity:high will show only advisories with a high severity level.|
||affects:lodash will show only advisories affecting the lodash library.|
||sort:created-asc will sort by the oldest advisories first.|
||sort:created-desc will sort by the newest advisories first.|
||sort:updated-asc will sort by the least recently updated first.|
||sort:updated-desc will sort by the most recently updated first.|
||is:withdrawn will show only advisories that have been withdrawn.|
||created:2019-10-31 will show only advisories created on this date.|
||updated:2019-10-31 will show only advisories updated on this date.|