VDB
Sign up
HIGH8.8

GHSA-265q-222x-52m6

silverstripe/framework has potential SQL Injection vulnerability in PostgreSQL database connector

Quick fix

GHSA-265q-222x-52m6 — silverstripe/framework: upgrade to the fixed version with the command below.

composer require silverstripe/framework:^4.0.6

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/silverstripe/framework
Introduced in: 4.0.0-rc1Fixed in: 4.0.6
Fixcomposer require silverstripe/framework:^4.0.6
Packagist/silverstripe/framework
Introduced in: 4.1.0-rc1Fixed in: 4.1.4
Fixcomposer require silverstripe/framework:^4.1.4
Packagist/silverstripe/framework
Introduced in: 4.2.0-rc1Fixed in: 4.2.3
Fixcomposer require silverstripe/framework:^4.2.3

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:composer/silverstripe/framework"]}'