CVE-2014-8682: SQL Injection in Gogs
7.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.98313%
CWE
Published
6/29/2021
Updated
1/9/2023
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
gogs.io/gogs | go | >= 0.3.1, < 0.5.8 | 0.5.8 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The commit diff shows both functions
were patched by replacing string concatenation ('%'+opt.Keyword+'%') with parameterized queries ('?'). The vulnerability description explicitly references improper handling of the 'q' parameter in these files
. Exploit PoCs demonstrate SQLi via these endpoints
, and the CVE
analysis confirms unsafe SQL construction in these functions
.