{"id":"GHSA-76w8-mqx4-wjrf","aliases":[],"status":"published","title":"Doctrine DBAL SQL injection possibility","description":"The identifier quoting in Doctrine DBAL has a potential security problem when user-input is passed into this function, making the security aspect of this functionality obsolete.\nIf you make use of AbstractPlatform::quoteIdentifier() or Doctrine::quoteIdentifier() please upgrade immediately. The ORM itself does not use identifier quoting in combination with user-input, however we still urge everyone to update to the latest version of DBAL.","severity":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L","level":"high","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2024-05-15T18:42:20Z","modified":"2024-05-15T18:42:21Z","fixes":[{"ecosystem":"Packagist","package":"doctrine/dbal","fixed_in":["2.0.8","2.1.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"doctrine/dbal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.8"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"doctrine/dbal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.1.0"},{"fixed":"2.1.2"}]}]},{"source":"osv","ecosystem":"Packagist","package":"doctrine/dbal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.0.8"}]}]},{"source":"osv","ecosystem":"Packagist","package":"doctrine/dbal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.1.0"},{"fixed":"2.1.2"}]}]}],"references":[{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/doctrine/dbal/2011-09-25.yaml","tags":["web"]},{"url":"https://web.archive.org/web/20130208100252/https://www.doctrine-project.org/blog/dbal-security-2011-1.html","tags":["web"]},{"url":"https://github.com/advisories/GHSA-76w8-mqx4-wjrf"},{"url":"https://github.com/doctrine/dbal","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-76w8-mqx4-wjrf","title":"Doctrine DBAL SQL injection possibility","description":"The identifier quoting in Doctrine DBAL has a potential security problem when user-input is passed into this function, making the security aspect of this functionality obsolete.\nIf you make use of AbstractPlatform::quoteIdentifier() or Doctrine::quoteIdentifier() please upgrade immediately. The ORM itself does not use identifier quoting in combination with user-input, however we still urge everyone to update to the latest version of DBAL.","status":"published","published":"2024-05-15T18:42:20Z","modified":"2024-05-15T18:42:21Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L","level":"high"}],"updated_at":"2026-11-02T14:37:49.48194Z"}],"osv":[{"id":"GHSA-76w8-mqx4-wjrf","title":"Doctrine DBAL SQL injection possibility","description":"The identifier quoting in Doctrine DBAL has a potential security problem when user-input is passed into this function, making the security aspect of this functionality obsolete.\nIf you make use of AbstractPlatform::quoteIdentifier() or Doctrine::quoteIdentifier() please upgrade immediately. The ORM itself does not use identifier quoting in combination with user-input, however we still urge everyone to update to the latest version of DBAL.","status":"published","published":"2024-05-15T18:42:20Z","modified":"2024-05-15T18:42:20Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L","level":"high"}],"updated_at":"2026-11-02T15:46:40.657155Z"}]}}
