Skip to content

GHSA-m2hh-2m46-x6j5 silverstripe/framework may disclose database credentials during connection failure

MediumCVSS 6.5
Published
Updated
Exploit status
No public exploit known
Technology
PHP

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
silverstripe/framework(Packagist) = 3.7.0; = 3.7.1-rc1; = 4.0.0; = 4.0.0-rc1 +18 more 3.7.1, 4.0.5, 4.1.3, 4.2.2 Fixed

Affected products

ProductAffected versionsFixed in
silverstripe/framework(Packagist) >= 3.7.0-rc1, < 3.7.1 3.7.1
silverstripe/framework(Packagist) = 3.7.0 No fix listed
silverstripe/framework(Packagist) = 3.7.1-rc1 No fix listed
silverstripe/framework(Packagist) >= 4.0.0-rc1, < 4.0.5 4.0.5
silverstripe/framework(Packagist) = 4.0.0 No fix listed
silverstripe/framework(Packagist) = 4.0.0-rc1 No fix listed
silverstripe/framework(Packagist) = 4.0.0-rc2 No fix listed
silverstripe/framework(Packagist) = 4.0.0-rc3 No fix listed
silverstripe/framework(Packagist) = 4.0.1 No fix listed
silverstripe/framework(Packagist) = 4.0.1-rc1 No fix listed
silverstripe/framework(Packagist) = 4.0.2 No fix listed
silverstripe/framework(Packagist) = 4.0.3 No fix listed
silverstripe/framework(Packagist) = 4.0.4 No fix listed
silverstripe/framework(Packagist) >= 4.1.0-rc1, < 4.1.3 4.1.3
silverstripe/framework(Packagist) = 4.1.0 No fix listed
silverstripe/framework(Packagist) = 4.1.0-rc1 No fix listed
silverstripe/framework(Packagist) = 4.1.0-rc2 No fix listed
silverstripe/framework(Packagist) = 4.1.1 No fix listed
silverstripe/framework(Packagist) = 4.1.2 No fix listed
silverstripe/framework(Packagist) >= 4.2.0-rc1, < 4.2.2 4.2.2
silverstripe/framework(Packagist) = 4.2.0 No fix listed
silverstripe/framework(Packagist) = 4.2.1 No fix listed

References