CVE-2022-2422CWE-89

Feathers - SQL injection via attribute aliases

Critical · published October 25, 2022

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

🚨 A tiny flaw in the Feathers js library can lead to BIG trouble! Improper input validation could open the door for SQL injection attacks when using the feathers-sequelize package. 🔥 Think of it like a restaurant where orders are taken without verifying the menu. If someone can sneak in a request for a dish that doesn't exist, they might just get a free meal—or worse, poison the entire kitchen! An attacker could exploit this vulnerability to execute arbitrary SQL commands on your backend database. This means they could potentially read sensitive data, modify it, or even delete entire tables. The stakes are incredibly high, as this could lead to data breaches or total application failure.

Put simply

Think of it like a restaurant where orders are taken without verifying the menu. If someone can sneak in a request for a dish that doesn't exist, they might just get a free meal—or worse, poison the entire kitchen! This SQL injection vulnerability arises from improper input validation in the Feathers js library, specifically when used in conjunction with the feathers-sequelize package. Attackers can manipulate input to execute harmful SQL queries.

What to do

An attacker could exploit this vulnerability to execute arbitrary SQL commands on your backend database. This means they could potentially read sensitive data, modify it, or even delete entire tables. The stakes are incredibly high, as this could lead to data breaches or total application failure. To mitigate this vulnerability, ensure you're using the latest version of the feathers-sequelize package, which resolves these input validation issues. Additionally, review your input validation practices to ensure all inputs are sanitized before processing. You've got this! Follow these steps and keep your application secure! 🛡️

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.00931 · 60.3th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2022-10-25T00:00Z
EPSS history
Timeline
  • 25 OCT 00:00Z
    Feathers - SQL injection via attribute aliases
    cvelistv5