CVE-2022-29822 Feathers - Improper parameter filtering in the Feathers js library, which may ultimately lead to SQL injection

Critical 10.0 Published Updated

Attackers can exploit improper parameter filtering in the Feathers-Sequelize library to execute SQL injection attacks, potentially reading or modifying database contents.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-29822?

CVE-2022-29822 is a critical SQL injection vulnerability in Feathers-Sequalize, published on 25 Oct 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Due to improper parameter filtering in the Feathers js library, which may ultimately lead to SQL injection

Weakness: CWE-89

Which versions are affected by CVE-2022-29822?

2 open source packages ship an affected version, including feathers-sequelize. It affects 1 product.

PackageAffectedFixed in
feathers-sequelize npmFrom 6.0.06.3.4
feathers-sequelize npmFrom 6.0.06.3.4

Products include Feathersjs Feathers-Sequelize.

How do I fix CVE-2022-29822?

Upgrade feathers-sequelize to 6.3.4 or later.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2022-29822 being exploited?

There is no known exploitation of CVE-2022-29822 in the wild and no public exploit code.

Sources

Also known as GHSA-5hq7-j5wq-p227.

Is CVE-2022-29822 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free