CVE-2014-8681 json
SQL Injection in gogs.io/gogs
published 11y ago modified 4mo ago also GHSA-mr6h-chqp-p9g2 , GO-2020-0021 , EUVD-2021-1361
- cvss
- 6.5
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.4%
- EPSS 4.4% chance of exploitation in 30 days, percentile 91%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- go gogs.io/gogs 0.5.8
- go github.com/gogits/gogs 0.5.8
Is CVE-2014-8681 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerTimeline
- First public exploit (EDB-35237)
- Published
Exploit prediction
4.44% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-35237 Gogs - 'label' SQL Injection webapps, 2014-11-14
- github.com https://github.com/gogits/gogs/commit/83283bca4cb4e0f4ec48a28af680f0d88db3d2c8 referenced PoC, tagged "exploit" by a source, unverified
- seclists.org http://seclists.org/fulldisclosure/2014/Nov/31 referenced PoC, tagged "exploit" by a source, unverified
- packetstormsecurity.com http://packetstormsecurity.com/files/129116/Gogs-Label-Search-Blind-SQL-Injection.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | gogs.io/gogs | >=0.3.1, <0.5.8 |
0.5.8 |
| go | github.com/gogits/gogs | >=0.3.1, <0.5.8 <0.5.8 |
0.5.8 |
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/gogits/gogs/commit/83283bca4cb4e0f4ec48a28af680f0d88db3d2c8
web, exploit
-
github.com
/gogs/gogs/commit/83283bca4cb4e0f4ec48a28af680f0d88db3d2c8
web, patch
-
exploit-db.com
/exploits/35237
exploit
-
seclists.org
/fulldisclosure/2014/Nov/31
mailing-list, web, exploit
-
packetstormsecurity.com
/files/129116/Gogs-Label-Search-Blind-SQL-Injection.html
web, exploit
-
exchange.xforce.ibmcloud.com
/vulnerabilities/98695
vdb-entry, web
- gogs.io /docs/intro/change_log.html
-
nvd.nist.gov
/vuln/detail/CVE-2014-8681
advisory
-
github.com
/gogits/gogs
package
-
github.com
/gogits/gogs/releases/tag/v0.5.8
web
-
pkg.go.dev
/vuln/GO-2020-0021
web
-
seclists.org
/fulldisclosure/2014/Nov/31
web
-
web.archive.org
/web/20150711111508/http://gogs.io/docs/intro/change_log.html#v0.5.8-%40-2014-11-19
web
-
web.nvd.nist.gov
/view/vuln/detail?vulnId=CVE-2014-8681
web
-
exploit-db.com
/exploits/35237
web
Sources
- CVE List CVE-2014-8681
- GitHub Advisory GHSA-mr6h-chqp-p9g2
- NVD CVE-2014-8681
- OSV GO-2020-0021
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.