Skip to content
OpenAdvisories
Medium · 6.5 GHSA-m2hh-2m46-x6j5

silverstripe/framework may disclose database credentials during connection failure

Published May 28, 2024 · Updated Dec 3, 2024 · Assigned by GHSA

Description

When running SilverStripe 3.7 or 4.x in dev mode with the mysqli database driver, there is a potential to disclose the connection details.

We have blacklisted the sensitive parts of the connection information from being included in dev mode stack traces when database errors occur.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist silverstripe/framework >= 3.7.0-rc1, < 3.7.1 3.7.1 GHSA-m2hh-2m46-x6j5
Packagist silverstripe/framework >= 4.0.0-rc1, < 4.0.5 4.0.5 GHSA-m2hh-2m46-x6j5
Packagist silverstripe/framework >= 4.1.0-rc1, < 4.1.3 4.1.3 GHSA-m2hh-2m46-x6j5
Packagist silverstripe/framework >= 4.2.0-rc1, < 4.2.2 4.2.2 GHSA-m2hh-2m46-x6j5

References