Skip to content

CVE-2014-8682 SQL Injection in Gogs

HighCVSS 7.5 EPSS 32.6% Public exploit
Published
Updated
Exploit status
Public exploit available

Description

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.

Affected products

ProductAffected versionsFixed in
gogs.io/gogs(Go) >= 0.3.1, < 0.5.8 0.5.8
gogits github.com/gogits/gogs <= 0.5.5 No fix listed
gogits github.com/gogits/gogs = 0.3.1-9 No fix listed
gogits github.com/gogits/gogs = 0.4.1 No fix listed
gogits github.com/gogits/gogs = 0.4.2 No fix listed
gogits github.com/gogits/gogs = 0.5.0 No fix listed
gogits github.com/gogits/gogs = 0.5.2 No fix listed

References