CVE-2014-8682: SQL Injection

Published Nov 21, 2014
·
Updated

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 Software

6 affected components
Gogits Gogs<=0.5.5
Gogits Gogs=0.3.1-9
Gogits Gogs=0.4.1
Gogits Gogs=0.4.2
Gogits Gogs=0.5.0
Gogits Gogs=0.5.2

Event History

Nov 21, 2014
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2014-8682?

CVE-2014-8682 has a critical severity level due to the potential for remote attackers to execute arbitrary SQL commands.

2

How do I fix CVE-2014-8682?

To fix CVE-2014-8682, upgrade Gogs to version 0.5.6.1105 Beta or later.

3

Which versions of Gogs are affected by CVE-2014-8682?

CVE-2014-8682 affects Gogs versions 0.3.1-9 through 0.5.5.

4

What exploit methods are possible for CVE-2014-8682?

CVE-2014-8682 can be exploited via SQL injection through the q parameter in specific API endpoints.

5

Is there a public exploit available for CVE-2014-8682?

Yes, there is a public exploit available that demonstrates SQL injection capabilities in affected versions of Gogs.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203