SECURITY: clarify vulnerability lifecycle (#6828)

[skip ci]
pull/6830/head
Joe Chen 2022-03-11 14:25:09 +08:00 committed by GitHub
parent 61529fd780
commit 82ee089088
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 4 deletions

View File

@ -2,12 +2,22 @@
## Supported versions
Only lastest two minor version releases are supported for accepting vulnerability reports and patching for fixes.
Only lastest two minor version releases are supported (>= 0.12) for accepting vulnerability reports and patching fixes.
## Reporting a vulnerability
Existing vulnerability reports are being tracked in [Gogs Vulnerability Reports](https://jcunknwon.notion.site/Gogs-Vulnerability-Reports-81d7df52e45c4f159274e46ba48ed1b9).
Please create a dummy issue with high-level description of the security vulnerability, then report details to [security@gogs.io](mailto:security@gogs.io) privately.
## Vulnerability lifecycle
We strongly enourage to use https://huntr.dev/ for submitting and managing status of vulnerability reports instead of emails.
1. Report a vulnerability:
- We strongly enourage to use https://huntr.dev/ for submitting and managing status of vulnerability reports.
- Alternatively, you may send vulnerability reports through emails to [security@gogs.io](mailto:security@gogs.io).
1. Create a [dummy issue](https://github.com/gogs/gogs/issues/6810) with high-level description of the security vulnerability for credibility and tracking purposes.
1. Project maintainers review the report and either:
- Ask clarifying questions
- Confirm or deny the vulnerability
1. Once the vulnerability is confirmed, the reporter may submit a patch or wait for project maintainers to patch.
- The latter is usually significantly slower.
1. Patch releases will be made for the supported versions.
1. Publish the original vulnerability report and a new [GitHub security advisory](https://github.com/gogs/gogs/security/advisories).
Thank you!