{"id":"GHSA-265q-222x-52m6","aliases":["GHSA-265q-222x-52m6"],"related":[],"kind":"vulnerability","state":"published","title":"silverstripe/framework has potential SQL Injection vulnerability in PostgreSQL database connector","summary":"A potential SQL injection vulnerability was identified by using the silverstripe/postgresql database adapter. While unlikely to be exploitable, we have patched silverstripe/framework to ensure that table names are safely escaped before being passed to database adapters or user code.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"A potential SQL injection vulnerability was identified by using the silverstripe/postgresql database adapter. While unlikely to be exploitable, we have patched silverstripe/framework to ensure that table names are safely escaped before being passed to database adapters or user code.","format":"markdown","source":"ghsa"}],"published":"2024-05-28T13:01:48.000Z","modified":"2024-12-03T06:23:59.669Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-89"],"affected":[{"ranges":[{"type":"ecosystem","introduced":"4.0.0-rc1","status":"affected","fixed":"4.0.6"}],"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.4"}],"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.3"}],"ecosystem":"Packagist","package":"silverstripe/framework","purl":"pkg:composer/silverstripe/framework","source":"ghsa"}],"references":[{"url":"https://github.com/silverstripe/silverstripe-framework/commit/48bd335648188df9dae72be1e5f9c808f3fe1e77","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/silverstripe/silverstripe-framework/commit/fecedc2d98eeaaff6424fb59dc70ef6bdc6dc92d","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2018-020-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-020","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-265q-222x-52m6","url":"https://github.com/advisories/GHSA-265q-222x-52m6","licence":"CC-BY-4.0","modified":"2024-12-03T06:23:59.669Z"}],"updatedAt":"2026-11-25T22:56:30.691Z"}