CVE-2022-29823CWE-1321

Feathers - Query “__proto__” is converted to real prototype

Critical · published October 25, 2022

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

⚠️ A single poorly filtered query can lead to a full remote code execution nightmare! The Feather-Sequalize cleanQuery method allows attackers to exploit insecure recursive logic and run harmful commands with application privileges. 🔥 Think of it like a restaurant kitchen that has a recipe for a dish but doesn’t check the ingredients carefully. If someone sneaks in a dangerous ingredient, the chef might accidentally serve a toxic meal to every customer! This vulnerability opens the door for an attacker to execute arbitrary code on the server as if they were the application itself. Imagine a malicious user running wild, modifying, deleting, or stealing any data they want — it would be absolutely devastating!

Put simply

Think of it like a restaurant kitchen that has a recipe for a dish but doesn’t check the ingredients carefully. If someone sneaks in a dangerous ingredient, the chef might accidentally serve a toxic meal to every customer! The Feather-Sequalize library's cleanQuery method fails to securely filter unsupported keys, allowing for unintended commands to be executed. The recursive logic it employs is the culprit, failing to validate inputs properly before processing them.

What to do

This vulnerability opens the door for an attacker to execute arbitrary code on the server as if they were the application itself. Imagine a malicious user running wild, modifying, deleting, or stealing any data they want — it would be absolutely devastating! To safeguard your application, update Feather-Sequalize to the latest version that addresses this vulnerability. Implement strict input validation and sanitization measures for any query inputs. Regularly review your code for security best practices to shield your application from similar vulnerabilities. You've got this! With these steps, you can regain control and keep your application safe and sound! 🛡️

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.01834 · 78.8th percentile
Weakness
CWE-1321 · Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Published
2022-10-25T00:00Z
EPSS history
Timeline
  • 25 OCT 00:00Z
    Feathers - Query “__proto__” is converted to real prototype
    cvelistv5