PT-2019-14326 · Pg · Connect-Pg-Simple
Voxpelli
·
Published
2019-08-26
·
Updated
2019-08-30
·
CVE-2019-15658
CVSS v2.0
7.5
High
| Vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Name of the Vulnerable Software and Affected Versions
connect-pg-simple versions prior to 6.0.1
Description
The issue allows for SQL injection if the
tableName or schemaName is untrusted data. This can occur when an unsanitized table name input is used.Recommendations
For versions prior to 6.0.1, upgrade to version 6.0.1 to resolve the issue.
As a temporary workaround for versions that cannot be upgraded, sanitize and escape the
tableName and schemaName options before sending them to the constructor, but note that such escaping would need to be removed when upgrading to 6.0.1 or later to avoid double escaping.Fix
SQL injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Connect-Pg-Simple