ADVISORIES

GitHub Advisory Database

GHSA-58v4-qwx5-7f59

SQL Injection in knex

Details

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 packages

EcosystemPackageAffected versions
npmknex
All versions before 0.19.5 (fixed in 0.19.5)

References