{"id":"GHSA-265q-222x-52m6","aliases":[],"status":"published","title":"silverstripe/framework has potential SQL Injection vulnerability in PostgreSQL database connector","description":"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.","severity":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-89"],"published":"2024-05-28T13:01:48Z","modified":"2024-12-03T06:23:59Z","fixes":[{"ecosystem":"Packagist","package":"silverstripe/framework","fixed_in":["4.0.6","4.1.4","4.2.3"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"silverstripe/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0-rc1"},{"fixed":"4.0.6"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"silverstripe/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0-rc1"},{"fixed":"4.1.4"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"silverstripe/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2.0-rc1"},{"fixed":"4.2.3"}]}]},{"source":"osv","ecosystem":"Packagist","package":"silverstripe/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0-rc1"},{"fixed":"4.0.6"}]}],"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","4.0.5"]},{"source":"osv","ecosystem":"Packagist","package":"silverstripe/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0-rc1"},{"fixed":"4.1.4"}]}],"versions":["4.1.0","4.1.0-rc1","4.1.0-rc2","4.1.1","4.1.2","4.1.3"]},{"source":"osv","ecosystem":"Packagist","package":"silverstripe/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2.0-rc1"},{"fixed":"4.2.3"}]}],"versions":["4.2.0","4.2.1","4.2.2"]}],"references":[{"url":"https://github.com/silverstripe/silverstripe-framework/commit/48bd335648188df9dae72be1e5f9c808f3fe1e77","tags":["web"]},{"url":"https://github.com/silverstripe/silverstripe-framework/commit/fecedc2d98eeaaff6424fb59dc70ef6bdc6dc92d","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2018-020-1.yaml","tags":["web"]},{"url":"https://www.silverstripe.org/download/security-releases/ss-2018-020","tags":["web"]},{"url":"https://github.com/advisories/GHSA-265q-222x-52m6"},{"url":"https://github.com/silverstripe/silverstripe-framework","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-265q-222x-52m6","title":"silverstripe/framework has potential SQL Injection vulnerability in PostgreSQL database connector","description":"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.","status":"published","published":"2024-05-28T13:01:48Z","modified":"2024-05-28T13:01:50Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:37:52.2286Z"}],"osv":[{"id":"GHSA-265q-222x-52m6","title":"silverstripe/framework has potential SQL Injection vulnerability in PostgreSQL database connector","description":"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.","status":"published","published":"2024-05-28T13:01:48Z","modified":"2024-12-03T06:23:59.669492Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:46:33.956911Z"}]}}
