CVE-2014-8681
HIGH 7.5CVSS 2.0SQL Injection in gogs.io/gogs
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.
- Published
- 21 Nov 2014
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-89
- Also known as
- GHSA-mr6h-chqp-p9g2GO-2020-0021
- Sources
- NVDJSONOSV GHSA-mr6h-chqp-p9g2JSONOSV GO-2020-0021JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gogits | gogscpe:2.3:a:gogits:gogs:*:*:*:*:*:*:*:* |
<= 0.5.5 | |
| NVD | gogits | gogscpe:2.3:a:gogits:gogs:0.3.1-9:*:*:*:*:*:*:* |
= 0.3.1-9 | |
| NVD | gogits | gogscpe:2.3:a:gogits:gogs:0.4.1:*:*:*:*:*:*:* |
= 0.4.1 | |
| NVD | gogits | gogscpe:2.3:a:gogits:gogs:0.4.2:*:*:*:*:*:*:* |
= 0.4.2 | |
| NVD | gogits | gogscpe:2.3:a:gogits:gogs:0.5.0:*:*:*:*:*:*:* |
= 0.5.0 | |
| NVD | gogits | gogscpe:2.3:a:gogits:gogs:0.5.2:*:*:*:*:*:*:* |
= 0.5.2 | |
| OSV | Go | gogs.io/gogs | >= 0.3.1, < 0.5.8 | 0.5.8 |
| OSV | Go | github.com/gogits/gogs | >= 0.3.1, < 0.5.8 | 0.5.8 |
| OSV | Go | github.com/gogits/gogs | < 0.5.8 | 0.5.8 |
References
- http://gogs.io/docs/intro/change_log.html
- http://packetstormsecurity.com/files/129116/Gogs-Label-Search-Blind-SQL-Injection.html · Exploit, WEB
- http://seclists.org/fulldisclosure/2014/Nov/31 · Exploit, WEB
- http://www.exploit-db.com/exploits/35237 · Exploit
- https://exchange.xforce.ibmcloud.com/vulnerabilities/98695 · WEB
- https://github.com/gogits/gogs/commit/83283bca4cb4e0f4ec48a28af680f0d88db3d2c8 · Exploit, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2014-8681 · ADVISORY
- https://github.com/gogs/gogs/commit/83283bca4cb4e0f4ec48a28af680f0d88db3d2c8 · WEB, FIX
- https://github.com/gogits/gogs · PACKAGE
- https://github.com/gogits/gogs/releases/tag/v0.5.8 · WEB
- https://pkg.go.dev/vuln/GO-2020-0021 · WEB
- https://seclists.org/fulldisclosure/2014/Nov/31 · WEB
- https://web.archive.org/web/20150711111508/http://gogs.io/docs/intro/change_log.html#v0.5.8-%40-2014-11-19 · WEB
- https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-8681 · WEB
- https://www.exploit-db.com/exploits/35237 · WEB
History
- 25 Nov 2026 20:18 UTC · NVD: first stored (published 21 Nov 2014)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Apr 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 29 Jun 2021)