Knex through 3.3.0 SQL Injection via MSSQL dropTableIfExists, dropViewIfExists and createTableIfNotExists
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| knex | knex | unaffected |
|
No data.
No data.
No data available yet.
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
No EPSS score available.
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Knex through 3.3.0 contains an sql injection vulnerability in the MSSQL dialect that allows attackers to inject T-SQL via table or view names. Attackers can supply names containing a single quote to close the object_id() literal in dropTableIfExists, dropViewIfExists, or createTableIfNotExists and execute arbitrary T-SQL with the database connection's privileges. | |
| Title | Knex through 3.3.0 SQL Injection via MSSQL dropTableIfExists, dropViewIfExists and createTableIfNotExists | |
| First Time appeared |
Knexjs
Knexjs knex |
|
| Weaknesses | CWE-89 | |
| CPEs | cpe:2.3:a:knexjs:knex:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Knexjs
Knexjs knex |
|
| References |
|
|
| Metrics |
cvssV3_1
|
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')