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.
| Software | From | Fixed in |
|---|---|---|
| gogits / gogs | - | 0.5.5.x |
| gogits / gogs | 0.4.1 | 0.4.1.x |
| gogits / gogs | 0.5.0 | 0.5.0.x |
| gogits / gogs | 0.3.1-9 | 0.3.1-9.x |
| gogits / gogs | 0.5.2 | 0.5.2.x |
| gogits / gogs | 0.4.2 | 0.4.2.x |
gogs.io/gogs
|
0.3.1 | 0.5.8 |