{"id":"GHSA-76w8-mqx4-wjrf","aliases":["GHSA-76w8-mqx4-wjrf"],"related":[],"kind":"vulnerability","state":"published","title":"Doctrine DBAL SQL injection possibility","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2024-05-15T18:42:20.000Z","modified":"2024-05-15T18:42:20.000Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L","score":8.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"ecosystem","introduced":"2.0.0","status":"affected","fixed":"2.0.8"}],"ecosystem":"Packagist","package":"doctrine/dbal","purl":"pkg:composer/doctrine/dbal","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.1.0","status":"affected","fixed":"2.1.2"}],"ecosystem":"Packagist","package":"doctrine/dbal","purl":"pkg:composer/doctrine/dbal","source":"ghsa"}],"references":[{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/doctrine/dbal/2011-09-25.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/doctrine/dbal","tags":["package"],"sources":["ghsa"]},{"url":"https://web.archive.org/web/20130208100252/https://www.doctrine-project.org/blog/dbal-security-2011-1.html","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-76w8-mqx4-wjrf","url":"https://github.com/advisories/GHSA-76w8-mqx4-wjrf","licence":"CC-BY-4.0","modified":"2024-05-15T18:42:20.000Z"}],"updatedAt":"2026-11-25T22:56:31.425Z"}