CVE-2019-10748

Sequelize all versions prior to 3.35.1, 4.44.3, and 5.8.11 are vulnerable to SQL Injection due to JSON path keys not being properly escaped for the…

published October 28, 2019

CVSS
—
EPSS
1%
Percentile
70.5
In the wild
Unconfirmed
What it is

⚠️ SQL Injection vulnerability alert! All versions of Sequelize prior to 3.35.1, 4.44.3, and 5.8.11 are letting in some sneaky characters that could wreak havoc on your databases! 🔥 Think of JSON path keys like ingredients in a recipe – if one ingredient goes unlisted or isn't properly labeled, it could lead to a disastrous meal. Here, the unescaped keys could allow attackers to mix in malicious SQL ingredients and spoil the whole dish! An attacker could manipulate database queries to gain unauthorized access to sensitive data, change records, or even delete crucial information. This could lead to data leaks, integrity issues, or worse – a complete database takeover! The effects could be absolutely devastating for any application relying on Sequelize.

Put simply

Think of JSON path keys like ingredients in a recipe – if one ingredient goes unlisted or isn't properly labeled, it could lead to a disastrous meal. Here, the unescaped keys could allow attackers to mix in malicious SQL ingredients and spoil the whole dish! This vulnerability arises from improperly escaped JSON path keys in the MySQL/MariaDB dialects, allowing for SQL injection attacks that can alter intended database queries.

What to do

An attacker could manipulate database queries to gain unauthorized access to sensitive data, change records, or even delete crucial information. This could lead to data leaks, integrity issues, or worse – a complete database takeover! The effects could be absolutely devastating for any application relying on Sequelize. Update your Sequelize to at least version 3.35.1, 4.44.3, or 5.8.11 immediately to close this security hole. Regularly review your code for proper input validation, and consider implementing query parameterization to strengthen your defenses against SQL injection. This is fixable! With just a few updates and best practices, you'll keep your database safe and sound! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01315 · 70.5th percentile
Published
2019-10-28T21:42Z
EPSS history
Timeline
  • 28 OCT 21:42Z
    Sequelize all versions prior to 3.35.1, 4.44.3, and 5.8.11 are vulnerable to SQL Injection due to JSON path keys not being properly escaped for the…
    cvelistv5