{"id":"CVE-2019-10757","sourceIdentifier":"report@snyk.io","published":"2019-10-08T20:15:11.730","lastModified":"2026-06-17T02:11:36.813","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"knex.js versiones anteriores a 0.19.5, son vulnerables al ataque de Inyección SQL. Los identificadores se escaparon incorrectamente como parte del dialecto de MSSQL, permitiendo a atacantes diseñar una consulta maliciosa en la base de datos del host."}],"affected":[{"source":"report@snyk.io","affectedData":[{"vendor":"n/a","product":"knex.js","versions":[{"version":"All versions prior to version 0.19.5","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10.0,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-89"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:knexjs:knex:*:*:*:*:*:node.js:*:*","versionEndExcluding":"0.19.5","matchCriteriaId":"C5D5ADB9-B26D-4C9C-A296-5FA9740C04AD"}]}]}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-KNEX-471962","source":"report@snyk.io","tags":["Exploit","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-JS-KNEX-471962","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"]}]}