{"id":"GHSA-m2hh-2m46-x6j5","aliases":["GHSA-m2hh-2m46-x6j5"],"related":[],"kind":"vulnerability","state":"published","title":"silverstripe/framework may disclose database credentials during connection failure","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.\n\nWe have blacklisted the sensitive parts of the connection information from being included in dev mode stack traces when database errors occur.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.\n\nWe have blacklisted the sensitive parts of the connection information from being included in dev mode stack traces when database errors occur.","format":"markdown","source":"ghsa"}],"published":"2024-05-28T12:53:45.000Z","modified":"2024-12-03T06:07:52.955Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-209"],"affected":[{"ranges":[{"type":"ecosystem","introduced":"3.7.0-rc1","status":"affected","fixed":"3.7.1"}],"ecosystem":"Packagist","package":"silverstripe/framework","purl":"pkg:composer/silverstripe/framework","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.0.0-rc1","status":"affected","fixed":"4.0.5"}],"ecosystem":"Packagist","package":"silverstripe/framework","purl":"pkg:composer/silverstripe/framework","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.1.0-rc1","status":"affected","fixed":"4.1.3"}],"ecosystem":"Packagist","package":"silverstripe/framework","purl":"pkg:composer/silverstripe/framework","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.2.0-rc1","status":"affected","fixed":"4.2.2"}],"ecosystem":"Packagist","package":"silverstripe/framework","purl":"pkg:composer/silverstripe/framework","source":"ghsa"}],"references":[{"url":"https://github.com/silverstripe/silverstripe-framework/commit/214e28127f5425b61c15b69f884afdbad31133c2","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/silverstripe/silverstripe-framework/commit/54251952387394d72b221e797a80edfbf9a973ee","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/silverstripe/silverstripe-framework/commit/9aabe0a0f7a061d87cc92923f8811e14d7a032f5","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2018-018-1.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/silverstripe/silverstripe-framework","tags":["package"],"sources":["ghsa"]},{"url":"https://www.silverstripe.org/download/security-releases/ss-2018-018","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m2hh-2m46-x6j5","url":"https://github.com/advisories/GHSA-m2hh-2m46-x6j5","licence":"CC-BY-4.0","modified":"2024-12-03T06:07:52.955Z"}],"updatedAt":"2026-11-25T22:56:32.499Z"}