Lucene search

K
nodejsRobert NilssonNODEJS:1153
HistorySep 05, 2019 - 10:09 p.m.

SQL Injection

2019-09-0522:09:37
Robert Nilsson
www.npmjs.com
9

0.001 Low

EPSS

Percentile

35.0%

Overview

Versions of connect-pg-simple are vulnerable to SQL Injection. The PGStore.prototype.quotedTable function allows for the query to be manipulated if the input has double quotes through the schemaName or tableName variables. These variables are passed to the constructor and are unlikely to be controlled by user-input. If they are controlled by user-input it could allow attackers to execute arbitrary SQL queries.

Recommendation

Upgrade to version 6.0.1 or later.

References

CPENameOperatorVersion
connect-pg-simplelt6.0.1

0.001 Low

EPSS

Percentile

35.0%