All reports
Medium

silverstripe/framework may disclose database credentials during connection failure

Affected versions

Version ranges need review.

Affected versions
>= 4.1.0-rc1, < 4.1.3
Fixed version
4.1.3
Affected versions
>= 3.7.0-rc1, < 3.7.1
Fixed version
3.7.1
Affected versions
>=3.1.0,<3.1.12
Fixed version
Not reported
Affected versions
>= 4.0.0-rc1, < 4.0.5
Fixed version
4.0.5
Affected versions
>= 4.2.0-rc1, < 4.2.2
Fixed version
4.2.2

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.

Links