CVE-2023-22578CWE-790

Sequalize - Default support for “raw attributes” when using parentheses

Critical · published February 16, 2023

CVSS v3.1
10.0
EPSS
1%
Percentile
57.2
In the wild
Unconfirmed
What it is

🔥 Improper attribute filtering in the Sequelize JS library opens the door to SQL injections, enabling attackers to wreak havoc with your databases! ⚠️ Think of it like a restaurant where the chef accepts any ingredient without checking if it’s safe. An attacker can serve up harmful SQL commands disguised as harmless requests, leading to dangerous data manipulation. An attacker can gain unauthorized access to your database, allowing them to read, modify, or even delete sensitive data. This could lead to devastating data breaches, loss of integrity, and severe consequences for your application. Security hero status: activated!

Put simply

Think of it like a restaurant where the chef accepts any ingredient without checking if it’s safe. An attacker can serve up harmful SQL commands disguised as harmless requests, leading to dangerous data manipulation. This vulnerability arises from inadequate filtering of attributes in Sequelize, which permits SQL injection attacks through crafted input, resulting in the potential for unauthorized database access.

What to do

An attacker can gain unauthorized access to your database, allowing them to read, modify, or even delete sensitive data. This could lead to devastating data breaches, loss of integrity, and severe consequences for your application. Security hero status: activated! Immediately patch the Sequelize library to the latest version, follow the security guidelines from the documentation, and conduct a thorough audit of all input handling in your application. Ensure to sanitize inputs and use prepared statements to avoid further SQL injection risks. You've got this! Follow these steps, and you'll fortify your defenses in no time! 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00831 · 57.2th percentile
Weakness
CWE-790 · Improper Filtering of Special Elements
Published
2023-02-16T14:11Z
EPSS history
Timeline
  • 16 FEB 14:11Z
    Sequalize - Default support for “raw attributes” when using parentheses
    cvelistv5