SQL Injection in Knexjs Knex
CVE-2019-10757
knex.js versions before 0.19.5 are vulnerable to SQL Injection attack. Identifiers are escaped incorrectly as part of the MSSQL dialect, allowing attackers to craft a malicious query to the host DB.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.012, 67.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Knexjs Knex
- Knex.js — versions All versions prior to version 0.19.5
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (Kirill89/Kirill89, ossf-cve-benchmark/CVE-2019-10757). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- snyk.io/vuln/SNYK-JS-KNEX-471962 (Exploit, Third Party Advisory)