Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. mysql
  4. ›
  5. GMS-2015-56

GMS-2015-56: SQL Injection due to unescaped object keys

December 28, 2015

Keys of objects are not escaped with mysql.escape() which could lead to SQL Injection.

References

  • github.com/felixge/node-mysql/issues/342

Code Behaviors & Features

Detect and mitigate GMS-2015-56 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 up to 2.0.0-alpha7

Fixed versions

  • 2.0.0-alpha8

Solution

Upgrade to version 2.0.0-alpha8 or above.

Source file

npm/mysql/GMS-2015-56.yml

Spotted a mistake? Edit the file on GitLab.

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

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