kritisch9.8
CVE-2014-125064
gosqljson SQL Injection vulnerability
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/elgs/gosqljson | < 0.0.0-20220916234230-750f26ee23c7 | 0.0.0-20220916234230-750f26ee23c7 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- 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