{"id":"GHSA-mr6h-chqp-p9g2","summary":"SQL Injection in gogs.io/gogs","details":"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.","aliases":["CVE-2014-8681","GO-2020-0021"],"modified":"2023-11-08T03:57:45.844565Z","published":"2021-06-29T18:32:44Z","database_specific":{"cwe_ids":["CWE-89"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-05-19T21:47:51Z","nvd_published_at":null},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-8681"},{"type":"WEB","url":"https://github.com/gogits/gogs/commit/83283bca4cb4e0f4ec48a28af680f0d88db3d2c8"},{"type":"WEB","url":"https://github.com/gogs/gogs/commit/83283bca4cb4e0f4ec48a28af680f0d88db3d2c8"},{"type":"WEB","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/98695"},{"type":"PACKAGE","url":"https://github.com/gogits/gogs"},{"type":"WEB","url":"https://github.com/gogits/gogs/releases/tag/v0.5.8"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2020-0021"},{"type":"WEB","url":"https://seclists.org/fulldisclosure/2014/Nov/31"},{"type":"WEB","url":"https://web.archive.org/web/20150711111508/http://gogs.io/docs/intro/change_log.html#v0.5.8-%40-2014-11-19"},{"type":"WEB","url":"https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-8681"},{"type":"WEB","url":"https://www.exploit-db.com/exploits/35237"},{"type":"WEB","url":"http://packetstormsecurity.com/files/129116/Gogs-Label-Search-Blind-SQL-Injection.html"},{"type":"WEB","url":"http://seclists.org/fulldisclosure/2014/Nov/31"}],"affected":[{"package":{"name":"gogs.io/gogs","ecosystem":"Go","purl":"pkg:golang/gogs.io/gogs"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.3.1"},{"fixed":"0.5.8"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-mr6h-chqp-p9g2/GHSA-mr6h-chqp-p9g2.json"}},{"package":{"name":"github.com/gogits/gogs","ecosystem":"Go","purl":"pkg:golang/github.com/gogits/gogs"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.3.1"},{"fixed":"0.5.8"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-mr6h-chqp-p9g2/GHSA-mr6h-chqp-p9g2.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L"}]}