Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. knex
  4. ›
  5. CVE-2019-10757

CVE-2019-10757: SQL Injection

October 8, 2019 (updated October 15, 2019)

knex.js is 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.

References

  • nvd.nist.gov/vuln/detail/CVE-2019-10757

Code Behaviors & Features

Detect and mitigate CVE-2019-10757 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.19.5

Fixed versions

  • 0.19.5

Solution

Upgrade to version 0.19.5 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

npm/knex/CVE-2019-10757.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:46 +0000.