Skip to content

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

composer silverstripe/framework (Composer)

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

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

Published to the GitHub Advisory Database May 28, 2024
Reviewed May 28, 2024
Last updated May 28, 2024

Severity

High
8.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-265q-222x-52m6
Checking history
See something to contribute? Suggest improvements for this vulnerability.