对安全通告具有管理员权限的任何人都可发布安全通告。
基本要求
Before you can publish a security advisory or request a CVE identification number, you must create a draft security advisory and provide information about the versions of your project affected by the security vulnerability. For more information, see "Creating a security advisory."
如果您已创建安全通告,但尚未提供有关安全漏洞影响的项目版本的详细信息,则可以编辑安全通告。 更多信息请参阅“编辑安全通告”。
关于发布安全通告
When you publish a security advisory, you notify your community about the security vulnerability that the security advisory addresses. Publishing a security advisory makes it easier for your community to update package dependencies and research the impact of the security vulnerability.
您还可以使用 GitHub Security Advisories 重新发布已在其他地方披露的安全漏洞详细信息,方法是将该漏洞的详细信息复制并粘贴到新的安全通告中。
Before you publish a security advisory, you can privately collaborate to fix the vulnerability in a temporary private fork. 更多信息请参阅“在临时私有复刻中协作以解决安全漏洞”。
发布安全通告后,安全通告的 URL 将与发布安全通告之前保持相同。 对仓库具有读取权限的任何人都能看到安全通告。 安全通告的协作者可以继续在安全通告中查看过去的对话,除非有管理员权限的人从安全通告删除协作者。
如果需要更新或更正已发布的安全通告中的信息,可以编辑安全通告。 更多信息请参阅“编辑安全通告”。
申请 CVE 识别号
Anyone with admin permissions to a security advisory can request a CVE identification number for the security advisory.
如果项目中尚无表示安全漏洞的 CVE 识别码,您可以从 GitHub 请求一个 CVE 识别码。 分配 CVE 识别码一般在 72 小时内可以完成。 For more information, see "About GitHub Security Advisories."
- 在 GitHub 上,导航到仓库的主页面。
- 在仓库名称下,单击 Security(安全)。

- 在左侧边栏中,单击 Security advisories(安全通告)。

- 在“Security Advisories(安全通告)”列表中,单击要为其申请 CVE 识别号的安全通告。

- 使用 Publish advisory(发布通告)下拉菜单,然后单击 Request CVE(申请 CVE)。

- 单击 Request CVE(申请 CVE)。

发布安全通告
Publishing a security advisory deletes the temporary private fork for the security advisory.
- 在 GitHub 上,导航到仓库的主页面。
- 在仓库名称下,单击 Security(安全)。

- 在左侧边栏中,单击 Security advisories(安全通告)。

- 在“Security Advisories(安全通告)”列表中,单击您要发布的安全通告。

- 在页面底部,单击 Publish advisory(发布通告)。

已发布安全通告的安全警报
GitHub 将审查每个发布的安全通告,将其添加到 GitHub Advisory Database, 并且可能使用安全通告向受影响的仓库发送安全警报。 如果安全通告来自复刻,我们仅当该复刻拥有在公共软件包注册表上以唯一名称发布的软件包时才发送警报。 此过程最长可能需要 72 小时,GitHub 可能会联系您以获取更多信息。
有关安全警报的更多信息,请参阅见“关于易受攻击依赖项的安全警报”。有关 GitHub Advisory Database 的更多信息,请参阅"浏览 GitHub Advisory Database 中的安全漏洞"。
延伸阅读
- "撤销安全通告"

