{"id":"GHSA-m2hh-2m46-x6j5","aliases":[],"title":"silverstripe/framework may disclose database credentials during connection failure","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.\n\nWe have blacklisted the sensitive parts of the connection information from being included in dev mode stack traces when database errors occur.","severity":"medium","score":6.5,"published":"2024-05-28T12:53:45.000Z","modified":"2024-12-03T06:07:52.955Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"silverstripe/framework","ranges":[{"events":[{"introduced":"3.7.0-rc1"},{"fixed":"3.7.1"}],"type":"ECOSYSTEM"}],"versions":["3.7.0","3.7.1-rc1"],"fixed":["3.7.1"]},{"ecosystem":"Packagist","name":"silverstripe/framework","ranges":[{"events":[{"introduced":"4.0.0-rc1"},{"fixed":"4.0.5"}],"type":"ECOSYSTEM"}],"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"],"fixed":["4.0.5"]},{"ecosystem":"Packagist","name":"silverstripe/framework","ranges":[{"events":[{"introduced":"4.1.0-rc1"},{"fixed":"4.1.3"}],"type":"ECOSYSTEM"}],"versions":["4.1.0","4.1.0-rc1","4.1.0-rc2","4.1.1","4.1.2"],"fixed":["4.1.3"]},{"ecosystem":"Packagist","name":"silverstripe/framework","ranges":[{"events":[{"introduced":"4.2.0-rc1"},{"fixed":"4.2.2"}],"type":"ECOSYSTEM"}],"versions":["4.2.0","4.2.1"],"fixed":["4.2.2"]}],"references":["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":[{"name":"OSV","id":"GHSA-m2hh-2m46-x6j5","modified":"2024-12-03T06:07:52.955783Z","url":"https://osv.dev/vulnerability/GHSA-m2hh-2m46-x6j5"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5}]}