GHSA-76w8-mqx4-wjrf
HIGH 8.1CVSS 3.1Doctrine DBAL SQL injection possibility
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.
If 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.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | doctrine/dbal | >= 2.0.0, < 2.0.8 | 2.0.8 |
| OSV | Packagist | doctrine/dbal | >= 2.1.0, < 2.1.2 | 2.1.2 |
References
- https://github.com/FriendsOfPHP/security-advisories/blob/master/doctrine/dbal/2011-09-25.yaml · WEB
- https://github.com/doctrine/dbal · PACKAGE
- https://web.archive.org/web/20130208100252/https://www.doctrine-project.org/blog/dbal-security-2011-1.html · WEB
History
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 15 May 2024)