GHSA-265q-222x-52m6 silverstripe/framework has potential SQL Injection vulnerability in PostgreSQL database connector
SilverStripe framework allows potential SQL injection via PostgreSQL adapter, requiring patched table name escaping to prevent data exposure.
- Exploited in the wild
- Not known
- Login needed
- Not stated
- Attackable
- Over the internet
- Victim action needed
- Not stated
- Fix
- Available
What is GHSA-265q-222x-52m6?
GHSA-265q-222x-52m6 is a SQL injection vulnerability in silverstripe/framework, published on 28 May 2024. It can be exploited over the network.
Official description
Which versions are affected by GHSA-265q-222x-52m6?
6 open source packages ship an affected version, including silverstripe/framework.
| Package | Affected | Fixed in |
|---|---|---|
silverstripe/framework Packagist | From 4.0.0-rc1 | 4.0.6 |
silverstripe/framework Packagist | From 4.0.0-rc1 | 4.0.6 |
silverstripe/framework Packagist | From 4.1.0-rc1 | 4.1.4 |
silverstripe/framework Packagist | From 4.1.0-rc1 | 4.1.4 |
silverstripe/framework Packagist | From 4.2.0-rc1 | 4.2.3 |
silverstripe/framework Packagist | From 4.2.0-rc1 | 4.2.3 |
How do I fix GHSA-265q-222x-52m6?
Upgrade silverstripe/framework to a fixed version for your release line: 4.0.6, 4.1.4 or 4.2.3.
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-265q-222x-52m6 being exploited?
There is no known exploitation of GHSA-265q-222x-52m6 in the wild and no public exploit code.