{"id":"GHSA-76w8-mqx4-wjrf","aliases":[],"title":"Doctrine DBAL SQL injection possibility","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"HIGH","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":"high","score":8.1,"published":"2024-05-15T18:42:20.000Z","modified":"2024-05-15T18:42:20.000Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"doctrine/dbal","sources":[{"name":"OSV · GHSA-76w8-mqx4-wjrf","url":"https://osv.dev/vulnerability/GHSA-76w8-mqx4-wjrf"}],"ranges":[{"events":[{"introduced":"2.0.0"},{"fixed":"2.0.8"}],"type":"ECOSYSTEM"}],"versions":[],"fixed":["2.0.8"]},{"ecosystem":"Packagist","name":"doctrine/dbal","sources":[{"name":"OSV · GHSA-76w8-mqx4-wjrf","url":"https://osv.dev/vulnerability/GHSA-76w8-mqx4-wjrf"}],"ranges":[{"events":[{"introduced":"2.1.0"},{"fixed":"2.1.2"}],"type":"ECOSYSTEM"}],"versions":[],"fixed":["2.1.2"]}],"sourceAffected":[],"references":["https://github.com/FriendsOfPHP/security-advisories/blob/master/doctrine/dbal/2011-09-25.yaml","https://github.com/doctrine/dbal","https://web.archive.org/web/20130208100252/https://www.doctrine-project.org/blog/dbal-security-2011-1.html"],"sources":[{"name":"OSV","id":"GHSA-76w8-mqx4-wjrf","modified":"2024-05-15T18:42:20Z","url":"https://osv.dev/vulnerability/GHSA-76w8-mqx4-wjrf"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L","score":8.1}],"products":[],"remediation":[],"kev":{"status":"unavailable","checkedAt":"2026-10-28T11:55:31.891Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}