GHSA-76w8-mqx4-wjrf Doctrine DBAL SQL injection possibility
SQL injection vulnerability in Doctrine DBAL identifier quoting allows attackers to manipulate database queries when user input is used.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-76w8-mqx4-wjrf?
GHSA-76w8-mqx4-wjrf is a SQL injection vulnerability in doctrine/dbal, published on 15 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Which versions are affected by GHSA-76w8-mqx4-wjrf?
4 open source packages ship an affected version, including doctrine/dbal.
| Package | Affected | Fixed in |
|---|---|---|
doctrine/dbal Packagist | From 2.0.0 | 2.0.8 |
doctrine/dbal Packagist | From 2.0.0 | 2.0.8 |
doctrine/dbal Packagist | From 2.1.0 | 2.1.2 |
doctrine/dbal Packagist | From 2.1.0 | 2.1.2 |
How do I fix GHSA-76w8-mqx4-wjrf?
Upgrade doctrine/dbal to a fixed version for your release line: 2.0.8 or 2.1.2.
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 GHSA-76w8-mqx4-wjrf being exploited?
There is no known exploitation of GHSA-76w8-mqx4-wjrf in the wild and no public exploit code.