Security mailing lists by PureSourceCode

CVE-2019-10757

CRITICAL 9.8CVSS 3.1

SQL Injection in knex

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.

Published
8 Oct 2019
Last modified
10 Sep 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-89
Also known as
GHSA-58v4-qwx5-7f59SNYK-JS-KNEX-471962
Sources
NVDJSONOSV GHSA-58v4-qwx5-7f59JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD knexjs knex
cpe:2.3:a:knexjs:knex:*:*:*:*:*:node.js:*:*
< 0.19.5 0.19.5
OSV npm knex < 0.19.5 0.19.5

References

History

  • 25 Nov 2026 20:30 UTC · NVD: first stored (published 8 Oct 2019)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 21 Oct 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.