Skip to content
OpenAdvisories
High · 8.1 GHSA-76w8-mqx4-wjrf

Doctrine DBAL SQL injection possibility

Published May 15, 2024 · Assigned by GHSA

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.
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.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist doctrine/dbal >= 2.0.0, < 2.0.8 2.0.8 GHSA-76w8-mqx4-wjrf
Packagist doctrine/dbal >= 2.1.0, < 2.1.2 2.1.2 GHSA-76w8-mqx4-wjrf

References