{"id":"CVE-2014-8681","published":"2014-11-21T15:00:00Z","modified":"2024-08-06T13:26:02Z","title":"SQL injection vulnerability in the GetIssues function in models/issue.go in Gogs (aka Go Git Service) 0.3.1-9 through…","vendor":null,"product":null,"tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.04437,"percentile":0.91612,"provenance":"source"},"cwes":[],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/98695","tags":["vdb-entry","x_refsource_XF"]},{"url":"https://github.com/gogits/gogs/commit/83283bca4cb4e0f4ec48a28af680f0d88db3d2c8","tags":["x_refsource_CONFIRM"]},{"url":"http://seclists.org/fulldisclosure/2014/Nov/31","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"http://gogs.io/docs/intro/change_log.html","tags":["x_refsource_CONFIRM"]},{"url":"http://packetstormsecurity.com/files/129116/Gogs-Label-Search-Blind-SQL-Injection.html","tags":["x_refsource_MISC"]},{"url":"http://www.exploit-db.com/exploits/35237","tags":["exploit","x_refsource_EXPLOIT-DB"]}],"priority":{"score":23.3,"factors":[{"name":"EPSS percentile","points":18.32},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2014-11-14"},"first":{"date":"2014-11-14","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/35237"},"provenance":"source"},"affected":[{"ecosystem":"Go","package":"gogs.io/gogs","vulnerableRanges":[">=0.3.1, <0.5.8"],"patched":["0.5.8"],"from":["GHSA-mr6h-chqp-p9g2"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/gogits/gogs","vulnerableRanges":[">=0.3.1, <0.5.8","<0.5.8"],"patched":["0.5.8"],"from":["GHSA-mr6h-chqp-p9g2","GO-2020-0021"],"provenance":"source"}],"summary":{"text":"The flaw is a SQL injection vulnerability in the GetIssues function in models/issue.go of Gogs (Go Git Service), affecting versions 0.3.1-9 through 0.5.6.x before 0.5.6.1025 Beta. An attacker with network access can send crafted input through the label parameter of the user/repos/issues endpoint to execute arbitrary SQL commands, with no authentication or user interaction indicated as required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:09:15Z"},"euvd":{"id":"EUVD-2021-1361","exploited":false,"provenance":"source"},"exploits":[{"id":35237,"url":"https://www.exploit-db.com/exploits/35237","title":"Gogs - 'label' SQL Injection","date":"2014-11-14","verified":false,"provenance":"source"}],"exploitRefs":["http://www.exploit-db.com/exploits/35237","http://packetstormsecurity.com/files/129116/Gogs-Label-Search-Blind-SQL-Injection.html","https://www.exploit-db.com/exploits/35237"],"lineage":{"familyId":"fam-gogs-io-gogs-cve-2014-8681","children":[{"from":"CVE-2014-8681","to":"CVE-2014-8682","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["gogs.go","models/repo.go","models/user.go","templates/.VERSION"],"commits":["https://github.com/gogits/gogs/commit/83283bca4cb4e0f4ec48a28af680f0d88db3d2c8","https://github.com/gogits/gogs/commit/0c5ba4573aecc9eaed669e9431a70a5d9f184b8d"],"basis":"shared function","functions":["SearchRepositoryByName"]},{"kind":"similar","provenance":"machine","score":0.49,"basis":"same package + description similarity"}]},{"from":"CVE-2014-8681","to":"CVE-2014-8683","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["gogs.go","templates/.VERSION"],"commits":["https://github.com/gogits/gogs/commit/83283bca4cb4e0f4ec48a28af680f0d88db3d2c8","https://github.com/gogits/gogs/commit/3abc41cccab2486012b46305827433ad6f5deade"],"basis":"rarely changed file"}]}]}}