{"id":"GHSA-m2hh-2m46-x6j5","summary":"silverstripe/framework may disclose database credentials during connection failure","details":"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.","modified":"2024-12-03T06:07:52.955783Z","published":"2024-05-28T12:53:45Z","database_specific":{"github_reviewed_at":"2024-05-28T12:53:45Z","nvd_published_at":null,"cwe_ids":["CWE-209"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/silverstripe/silverstripe-framework/commit/214e28127f5425b61c15b69f884afdbad31133c2"},{"type":"WEB","url":"https://github.com/silverstripe/silverstripe-framework/commit/54251952387394d72b221e797a80edfbf9a973ee"},{"type":"WEB","url":"https://github.com/silverstripe/silverstripe-framework/commit/9aabe0a0f7a061d87cc92923f8811e14d7a032f5"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2018-018-1.yaml"},{"type":"PACKAGE","url":"https://github.com/silverstripe/silverstripe-framework"},{"type":"WEB","url":"https://www.silverstripe.org/download/security-releases/ss-2018-018"}],"affected":[{"package":{"name":"silverstripe/framework","ecosystem":"Packagist","purl":"pkg:composer/silverstripe/framework"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.7.0-rc1"},{"fixed":"3.7.1"}]}],"versions":["3.7.0","3.7.1-rc1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-m2hh-2m46-x6j5/GHSA-m2hh-2m46-x6j5.json"}},{"package":{"name":"silverstripe/framework","ecosystem":"Packagist","purl":"pkg:composer/silverstripe/framework"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0-rc1"},{"fixed":"4.0.5"}]}],"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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-m2hh-2m46-x6j5/GHSA-m2hh-2m46-x6j5.json"}},{"package":{"name":"silverstripe/framework","ecosystem":"Packagist","purl":"pkg:composer/silverstripe/framework"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0-rc1"},{"fixed":"4.1.3"}]}],"versions":["4.1.0","4.1.0-rc1","4.1.0-rc2","4.1.1","4.1.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-m2hh-2m46-x6j5/GHSA-m2hh-2m46-x6j5.json"}},{"package":{"name":"silverstripe/framework","ecosystem":"Packagist","purl":"pkg:composer/silverstripe/framework"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2.0-rc1"},{"fixed":"4.2.2"}]}],"versions":["4.2.0","4.2.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-m2hh-2m46-x6j5/GHSA-m2hh-2m46-x6j5.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}