Browse Source

SECURITY: clarify vulnerability lifecycle (#6828)

[skip ci]
Joe Chen 3 years ago
parent
commit
82ee089088
1 changed files with 14 additions and 4 deletions
  1. 14 4
      SECURITY.md

+ 14 - 4
SECURITY.md

@@ -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 [[email protected]](mailto:[email protected]) 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 [[email protected]](mailto:[email protected]).
+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!