Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. doctrine/dbal
  4. ›
  5. GHSA-76w8-mqx4-wjrf

GHSA-76w8-mqx4-wjrf: Doctrine DBAL SQL injection possibility

May 15, 2024

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.

References

  • github.com/FriendsOfPHP/security-advisories/blob/master/doctrine/dbal/2011-09-25.yaml
  • github.com/advisories/GHSA-76w8-mqx4-wjrf
  • github.com/doctrine/dbal
  • web.archive.org/web/20130208100252/https://www.doctrine-project.org/blog/dbal-security-2011-1.html

Code Behaviors & Features

Detect and mitigate GHSA-76w8-mqx4-wjrf with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.0.0 before 2.0.8, all versions starting from 2.1.0 before 2.1.2

Fixed versions

  • 2.0.8
  • 2.1.2

Solution

Upgrade to versions 2.0.8, 2.1.2 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L

Learn more about CVSS

Source file

packagist/doctrine/dbal/GHSA-76w8-mqx4-wjrf.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:21 +0000.