silverstripe/framework may disclose database credentials during connection failure
Priority LOW 38CWE-209Published · Updated
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-209.
Summary
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.
Why it matters now
Fix Fixed silverstripe/framework (Packagist): 3.7.1, 4.0.5, 4.1.3 +1
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | silverstripe/framework (Packagist) | 3.7.0-rc1 to before 3.7.1 | 3.7.1 | Patch available | GHSA-m2hh-2m46-x6j5 |
| — | silverstripe/framework (Packagist) | 4.0.0-rc1 to before 4.0.5 | 4.0.5 | Patch available | GHSA-m2hh-2m46-x6j5 |
| — | silverstripe/framework (Packagist) | 4.1.0-rc1 to before 4.1.3 | 4.1.3 | Patch available | GHSA-m2hh-2m46-x6j5 |
| — | silverstripe/framework (Packagist) | 4.2.0-rc1 to before 4.2.2 | 4.2.2 | Patch available | GHSA-m2hh-2m46-x6j5 |
- silverstripe/framework (Packagist) Vendor— Affected 3.7.0-rc1 to before 3.7.1 Fixed in 3.7.1 Patch available GHSA-m2hh-2m46-x6j5
- silverstripe/framework (Packagist) Vendor— Affected 4.0.0-rc1 to before 4.0.5 Fixed in 4.0.5 Patch available GHSA-m2hh-2m46-x6j5
- silverstripe/framework (Packagist) Vendor— Affected 4.1.0-rc1 to before 4.1.3 Fixed in 4.1.3 Patch available GHSA-m2hh-2m46-x6j5
- silverstripe/framework (Packagist) Vendor— Affected 4.2.0-rc1 to before 4.2.2 Fixed in 4.2.2 Patch available GHSA-m2hh-2m46-x6j5
Remediation
- Fix · GHSA-m2hh-2m46-x6j5 silverstripe/framework (Packagist) Fixed in 3.7.1 Advisory →
- Fix · GHSA-m2hh-2m46-x6j5 silverstripe/framework (Packagist) Fixed in 4.0.5 Advisory →
- Fix · GHSA-m2hh-2m46-x6j5 silverstripe/framework (Packagist) Fixed in 4.1.3 Advisory →
- Fix · GHSA-m2hh-2m46-x6j5 silverstripe/framework (Packagist) Fixed in 4.2.2 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-m2hh-2m46-x6j5
References
Other 6
- 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
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences