SQL Injection in Knexjs Knex
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.011, 66.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (leoambrus/artefactswithoutCVEonGitHubAdvisoryDatabase, Live-Hack-CVE/CVE-2016-20018). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.ghostccamm.com/blog/knex_sqli/ (Exploit, Third Party Advisory)
- github.com/knex/knex/issues/1227 (Exploit, Third Party Advisory, Issue Tracking)
- nvd.nist.gov/vuln/detail/CVE-2016-20018