Skip to content
OpenAdvisories
Critical · 9.8 CVE-2019-10757 EUVD-2019-0687GHSA-58v4-qwx5-7f59SNYK-JS-KNEX-471962

SQL Injection in knex

Published Oct 8, 2019 · Updated Aug 4, 2024 · Assigned by snyk

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.

Affected products

VendorProductAffectedFixed
— knex.js All versions prior to version 0.19.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm knex < 0.19.5 0.19.5 GHSA-58v4-qwx5-7f59

References