Advisory

GHSA-g7mw-9pf9-p2pm

Also known as: CVE-2014-125064, GO-2023-1494

Summary

gosqljson SQL Injection vulnerability

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2023-01-07 21:30 UTC
Modified
2023-11-08 03:57 UTC

Affected packages and fixes

github.com/elgs/gosqljson

Go · All systems

Affected

  • introduced 0, fixed 0.0.0-20220916234230-750f26ee23c7 (semver)

Fixed versions

0.0.0-20220916234230-750f26ee23c7

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences