GitHub Advisoryadvisory · Go

GHSA-g7mw-9pf9-p2pm gosqljson SQL Injection vulnerability

CRITICAL Published 2023-01-07 Modified 2023-01-12 Official page ↗
Aliases
CVE-2014-125064
Ecosystem
Go
Packages
github.com/elgs/gosqljson
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-89
Reviewed
2023-01-12

Affected packages

• Go github.com/elgs/gosqljson: < 0.0.0-20220916234230-750f26ee23c7 → fixed in 0.0.0-20220916234230-750f26ee23c7

Description

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.

Related

Alias · not in database (1)

Weakness · CWE (1)

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness

References