PT-2019-14326 · Pg · Connect-Pg-Simple
Voxpelli
·
Publicado
2019-08-26
·
Atualizado
2019-08-30
·
CVE-2019-15658
CVSS v2.0
7.5
Alta
| Vetor | 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.Correção
SQL injection
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Connect-Pg-Simple