CVE-2014-8682
HIGH 7.5CVSS 2.0SQL Injection in Gogs
Multiple SQL injection vulnerabilities in Gogs (aka Go Git Service) 0.3.1-9 through 0.5.x before 0.5.6.1105 Beta allow remote attackers to execute arbitrary SQL commands via the q parameter to (1) api/v1/repos/search, which is not properly handled in models/repo.go, or (2) api/v1/users/search, which is not properly handled in models/user.go.
- Published
- 21 Nov 2014
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-89
- Also known as
- GHSA-g6xv-8q23-w2q3GO-2022-0831
- Sources
- NVDJSONOSV GHSA-g6xv-8q23-w2q3JSONOSV GO-2022-0831JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/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 |
References
- http://gogs.io/docs/intro/change_log.html · WEB
- http://packetstormsecurity.com/files/129117/Gogs-Repository-Search-SQL-Injection.html · Exploit, WEB
- http://seclists.org/fulldisclosure/2014/Nov/33 · Exploit, WEB
- http://www.exploit-db.com/exploits/35238 · Exploit, WEB
- http://www.securityfocus.com/archive/1/533995/100/0/threaded · WEB
- http://www.securityfocus.com/bid/71187 · Exploit, WEB
- https://exchange.xforce.ibmcloud.com/vulnerabilities/98694 · WEB
- https://github.com/gogits/gogs/commit/0c5ba4573aecc9eaed669e9431a70a5d9f184b8d · Exploit, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2014-8682 · ADVISORY
- https://github.com/gogits/gogs/releases/tag/v0.5.8 · WEB
- https://www.exploit-db.com/exploits/35238 · WEB
- http://packetstormsecurity.com/files/129116/Gogs-Label-Search-Blind-SQL-Injection.html · WEB
- http://seclists.org/fulldisclosure/2014/Nov/31 · WEB
- https://github.com/advisories/GHSA-g6xv-8q23-w2q3 · ADVISORY
History
- 25 Nov 2026 20:18 UTC · NVD: first stored (published 21 Nov 2014)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 29 Jun 2021)