silverstripe/framework has potential SQL Injection vulnerability in PostgreSQL database connector
High severity
GitHub Reviewed
Published
May 28, 2024
to the GitHub Advisory Database
•
Updated May 28, 2024
Package
Affected versions
>= 4.0.0-rc1, < 4.0.6
>= 4.1.0-rc1, < 4.1.4
>= 4.2.0-rc1, < 4.2.3
Patched versions
4.0.6
4.1.4
4.2.3
Description
Published to the GitHub Advisory Database
May 28, 2024
Reviewed
May 28, 2024
Last updated
May 28, 2024
A potential SQL injection vulnerability was identified by using the silverstripe/postgresql database adapter. While unlikely to be exploitable, we have patched silverstripe/framework to ensure that table names are safely escaped before being passed to database adapters or user code.
References