GHSA-m2hh-2m46-x6j5
GHSA-m2hh-2m46-x6j5 · silverstripe/framework may disclose database credentials during connection failure
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.5 · Medium · Fix available
- Published
- Updated
Stack: php
Affected products and versions
silverstripe/framework Packagist
- Versions
- 3.7.0
- 3.7.1-rc1
- Affected ranges
- ECOSYSTEM: ≥ 3.7.0-rc1, < 3.7.1
Update to 3.7.1
silverstripe/framework Packagist
- Versions
- 4.0.0
- 4.0.0-rc1
- 4.0.0-rc2
- 4.0.0-rc3
- 4.0.1
- 4.0.1-rc1
- 4.0.2
- 4.0.3
- 4.0.4
- Affected ranges
- ECOSYSTEM: ≥ 4.0.0-rc1, < 4.0.5
Update to 4.0.5
silverstripe/framework Packagist
- Versions
- 4.1.0
- 4.1.0-rc1
- 4.1.0-rc2
- 4.1.1
- 4.1.2
- Affected ranges
- ECOSYSTEM: ≥ 4.1.0-rc1, < 4.1.3
Update to 4.1.3
silverstripe/framework Packagist
- Versions
- 4.2.0
- 4.2.1
- Affected ranges
- ECOSYSTEM: ≥ 4.2.0-rc1, < 4.2.2
Update to 4.2.2
Original sources
- https://github.com/silverstripe/silverstripe-framework/commit/214e28127f5425b61c15b69f884afdbad31133c2
- https://github.com/silverstripe/silverstripe-framework/commit/54251952387394d72b221e797a80edfbf9a973ee
- https://github.com/silverstripe/silverstripe-framework/commit/9aabe0a0f7a061d87cc92923f8811e14d7a032f5
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2018-018-1.yaml
- https://github.com/silverstripe/silverstripe-framework
- https://www.silverstripe.org/download/security-releases/ss-2018-018
- https://osv.dev/vulnerability/GHSA-m2hh-2m46-x6j5