CVE-2014-8682
highpriority · attend · 51EPSS 0.326 · 98 %ileexploit · PoCEUUSEPSS · scored 2026-10-27
Multiple SQL injection vulnerabilities in Gogs (aka Go Git Service) 0.3.1-9 through 0.5.x before 0.5.6.1105 Beta allow remote attackers to execute arbitrary SQL commands via the q parameter to (1) api/v1/repos/search, which is not properly handled in models/repo.go, or (2) api/v1/users/search, which is not properly handled in models/user.go.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (2)
Public proof-of-concept and weaponised exploit code.
- EDB-35238Gogs - 'users'/'repos' '?q' SQL InjectionPoC · exploit_db
- nihal1306/gogsCVE-2014-8682PoC · poc_in_github
affected products (8)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-g6xv-8q23-w2q3SQL Injection in Gogs2021-06-29ghsa · osvUS
Multiple SQL injection vulnerabilities in Gogs (aka Go Git Service) 0.3.1-9 through 0.5.x before 0.5.6.1105 Beta allow remote attackers to execute arbitrary SQL commands via the q parameter to (1) api/v1/repos/search, which is not properly handled in models/repo.go, or (2) api/v1/users/search, which is not properly handled in models/user.go.
- GO-2022-0831SQL Injection in Gogs in gogs.io/gogs2024-08-21vendor · osvUS
SQL Injection in Gogs in gogs.io/gogs
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (24)
External citations — patches, advisories, analysis.
- http://gogs.io/docs/intro/change_log.htmlcnnvd
- http://packetstormsecurity.com/files/129117/Gogs-Repository-Search-SQL-Injection.htmlcnnvd
- http://seclists.org/fulldisclosure/2014/Nov/33cnnvd
- http://www.exploit-db.com/exploits/35238cnnvd
- http://www.securityfocus.com/archive/1/archive/1/533995/100/0/threadedcnnvd
- http://www.securityfocus.com/bid/71187cnnvd
- http://xforce.iss.net/xforce/xfdb/98694cnnvd
- https://github.com/gogits/gogs/commit/0c5ba4573aecc9eaed669e9431a70a5d9f184b8dcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan