CVE-2022-29498 SQL injection in blazer
An attacker can trick users into executing arbitrary SQL queries in Blazer, potentially leading to unauthorized data access or modification.
- 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-29498?
CVE-2022-29498 is a high-severity SQL injection vulnerability in n/a, published on 21 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Blazer before 2.6.0 allows SQL Injection. In certain circumstances, an attacker could get a user to run a query they would not have normally run.
Weakness: CWE-89
Which versions are affected by CVE-2022-29498?
2 open source packages ship an affected version, including blazer. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
blazer RubyGems | All versions | 2.6.0 |
blazer RubyGems | All versions | 2.6.0 |
Products include Blazer Project Blazer.
How do I fix CVE-2022-29498?
Upgrade blazer to 2.6.0 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-29498 being exploited?
There is no known exploitation of CVE-2022-29498 in the wild and no public exploit code.
Sources
Also known as GHSA-qf9q-q4hh-qph3.