CVE-2014-8681Gogits Gogs
High 7.5 No auth needed
Follow: this CVE · Gogits · Gogits Gogs We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 2.0
- 7.5
- EPSS
- 4.4% probability of exploitation in 30 days · percentile 92
- Auth required
- No
- Published
- Nov 21, 2014
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-89
- Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
What happens
SQL injection vulnerability in the GetIssues function in models/issue.go in Gogs (aka Go Git Service) 0.3.1-9 through 0.5.6.x before 0.5.6.1025 Beta allows remote attackers to execute arbitrary SQL commands via the label parameter to user/repos/issues.
What to do
- Apply the vendor's security update for Gogs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/gogits/gogs |
≥ 0.3.1 < 0.5.8 |
0.5.8 |
go get github.com/gogits/gogs@v0.5.8 |
| Go | github.com/gogits/gogs |
< 0.5.8 |
0.5.8 |
go get github.com/gogits/gogs@v0.5.8 |
| Go | gogs.io/gogs |
≥ 0.3.1 < 0.5.8 |
0.5.8 |
go get gogs.io/gogs@v0.5.8 |
Per OSV / GitHub Advisories (GHSA-mr6h-chqp-p9g2, GO-2020-0021). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gogits | gogs | ≤ 0.5.5 |
| gogits | gogs | 0.3.1-9 |
| gogits | gogs | 0.4.1 |
| gogits | gogs | 0.4.2 |
| gogits | gogs | 0.5.0 |
| gogits | gogs | 0.5.2 |
Official sources
References
Links published by the sources. Open them with care.
- gogs.io
- packetstormsecurity.com Exploit
- seclists.org Exploit
- www.exploit-db.com Exploit
- exchange.xforce.ibmcloud.com
- github.com Exploit