knex@0.4.6 vulnerabilities
A batteries-included SQL query & schema builder for PostgresSQL, MySQL, CockroachDB, MSSQL and SQLite3
-
latest version
3.1.0
-
latest non vulnerable version
-
first published
12 years ago
-
latest version published
a year ago
-
licenses detected
- >=0
Direct Vulnerabilities
Known vulnerabilities in the knex package. This does not include vulnerabilities belonging to this package’s dependencies.
Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.Vulnerability | Vulnerable Version |
---|---|
knex is a query builder for PostgreSQL, MySQL and SQLite3 Affected versions of this package are vulnerable to SQL Injection due to missing escape of field objects, which allows ignoring the Note:
Exploiting this vulnerability is possible when using How to fix SQL Injection? Upgrade |
<2.4.0
|
knex is a query builder for PostgreSQL, MySQL and SQLite3 Affected versions of this package are vulnerable to SQL Injection. None How to fix SQL Injection? Upgrade |
<0.19.5
|
Column names are not properly escaped in the postgreSQL dialect. This may allow attackers to craft a query to the host DB and access private information. Writing the following code:
Has the following result:
How to fix SQL Injection? Upgrade |
<0.6.23
>=0.7.0 <0.7.6
|