critical9.8
CVE-2014-125064
gosqljson SQL Injection vulnerability
Impact
A vulnerability, which was classified as critical, has been found in elgs gosqljson. This issue affects the function `QueryDbToArray/QueryDbToMap/ExecDb` of the file `gosqljson.go`. The manipulation of the argument sqlStatement leads to sql injection. The name of the patch is 2740b331546cb88eb61771df4c07d389e9f0363a. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-217631.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/elgs/gosqljson | < 0.0.0-20220916234230-750f26ee23c7 | 0.0.0-20220916234230-750f26ee23c7 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-g7mw-9pf9-p2pm
- https://nvd.nist.gov/vuln/detail/CVE-2014-125064
- https://github.com/elgs/gosqljson/commit/2740b331546cb88eb61771df4c07d389e9f0363a
- https://vuldb.com/?ctiid.217631
- https://vuldb.com/?id.217631
- https://pkg.go.dev/vuln/GO-2023-1494