Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/elgs/gosqljson
  4. ›
  5. CVE-2014-125064

CVE-2014-125064: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

January 7, 2023 (updated January 12, 2023)

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.

References

  • github.com/advisories/GHSA-g7mw-9pf9-p2pm
  • github.com/elgs/gosqljson/commit/2740b331546cb88eb61771df4c07d389e9f0363a
  • nvd.nist.gov/vuln/detail/CVE-2014-125064
  • vuldb.com/?ctiid.217631
  • vuldb.com/?id.217631

Code Behaviors & Features

Detect and mitigate CVE-2014-125064 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.0.0-20220916234230-750f26ee23c7

Fixed versions

  • v0.0.0-20220916234230-750f26ee23c7

Solution

Upgrade to version 0.0.0-20220916234230-750f26ee23c7 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

go/github.com/elgs/gosqljson/CVE-2014-125064.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:13 +0000.