GitHub Advisoryadvisory · Packagist

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

HIGH Published 2024-05-15 Modified 2024-05-15 Official page ↗
Ecosystem
Packagist
Packages
doctrine/dbal
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:L
Reviewed
2024-05-15

Affected packages

• Packagist doctrine/dbal: >= 2.0.0, < 2.0.8 → fixed in 2.0.8 • Packagist doctrine/dbal: >= 2.1.0, < 2.1.2 → fixed in 2.1.2

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.

References