MEDIUM6.5
GHSA-mr6h-chqp-p9g2
SQL Injection in gogs.io/gogs
Quick fix
GHSA-mr6h-chqp-p9g2 — gogs.io/gogs: upgrade to the fixed version with the command below.
go get gogs.io/gogs@v0.5.8Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-8681[ADVISORY]
- https://github.com/gogits/gogs/commit/83283bca4cb4e0f4ec48a28af680f0d88db3d2c8[WEB]
- https://github.com/gogs/gogs/commit/83283bca4cb4e0f4ec48a28af680f0d88db3d2c8[WEB]
- https://exchange.xforce.ibmcloud.com/vulnerabilities/98695[WEB]
- 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]
- http://packetstormsecurity.com/files/129116/Gogs-Label-Search-Blind-SQL-Injection.html[WEB]
- http://seclists.org/fulldisclosure/2014/Nov/31[WEB]