Critical severity · published Oct 8, 2019
CVE-2019-10757
knex.js versions before 0.19.5 are vulnerable to SQL Injection attack
9.8
CVSS
1.2%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.2% · higher than 67% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KN
Knex · Knexjs
before 0.19.5 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2019-10757
CVE.org
https://www.cve.org/CVERecord?id=CVE-2019-10757
Exploit
https://snyk.io/vuln/SNYK-JS-KNEX-471962
More from Knex
7.5
CVE-2016-20018
Knex Knex.js through 2.3.0 has a limited SQL injection vulnerability that can be exploited to ignore the WHERE clause of a SQL query
