GoFrame follows semantic versioning. Security fixes are provided for the latest minor release of the current major version.
| Version | Supported |
|---|---|
| v2.x (latest) | ✅ |
| < v2.0 | ❌ |
The repository is a multi-module monorepo. The policy covers the root module
github.com/gogf/gf/v2, the cmd/gf CLI, and every module under contrib/.
Please do not open a public issue for security problems. Report them through GitHub's private vulnerability reporting:
- Open https://github.com/gogf/gf/security/advisories/new.
- Include the affected module and version, a minimal reproduction, and the impact you believe the issue has.
- If the report involves a third-party dependency, mention the advisory or CVE identifier when one is available.
We will acknowledge a report within 3 business days and aim to provide an
initial assessment within 7 business days. Confirmed issues are fixed on the
master branch and released as a patch version; the advisory is published once
a fixed release is available.
In scope:
- Vulnerabilities in framework code that a typical application can reach, such as request handling, routing, configuration parsing, ORM query building, and file or template utilities.
- Supply-chain issues in the published modules and in the release workflows.
Out of scope:
- Findings that require the caller to pass untrusted input into APIs whose
documented contract is to operate on raw values, for example
ghttp.Response.Write,gfilepath helpers, orgconvtruncating numeric conversions. - Weak-algorithm findings for
crypto/gdes. DES and Triple DES are provided only for compatibility with legacy systems; new code should use AES.
We prefer reports in English or Chinese.