CVE-2019-10757

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability—
ProductKnex
PublishedOct 8, 2019
First seenOct 8, 2019

How to fix

Update
  • knexjs knex0.19.5 or later
  • knex0.19.5 or later

Affected products

ProductAffected versionsFixed in
knexjs knexv < 0.19.50.19.5
knexnpmv < 0.19.50.19.5

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.