GHSA-mr6h-chqp-p9g2
SQL Injection in gogs.io/gogs
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 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2014-8681
- https://github.com/gogits/gogs/commit/83283bca4cb4e0f4ec48a28af680f0d88db3d2c8
- https://github.com/gogs/gogs/commit/83283bca4cb4e0f4ec48a28af680f0d88db3d2c8
- https://exchange.xforce.ibmcloud.com/vulnerabilities/98695
- https://github.com/gogits/gogs
- https://github.com/gogits/gogs/releases/tag/v0.5.8
- https://pkg.go.dev/vuln/GO-2020-0021
- https://seclists.org/fulldisclosure/2014/Nov/31
- https://web.archive.org/web/20150711111508/http://gogs.io/docs/intro/change_log.html#v0.5.8-%40-2014-11-19
- https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-8681
- https://www.exploit-db.com/exploits/35237
- http://packetstormsecurity.com/files/129116/Gogs-Label-Search-Blind-SQL-Injection.html
- http://seclists.org/fulldisclosure/2014/Nov/31