Advisory

GHSA-76w8-mqx4-wjrf

Also known as: None

Summary

Doctrine DBAL SQL injection possibility

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-05-15 18:42 UTC
Modified
2024-05-15 18:42 UTC

Affected packages and fixes

doctrine/dbal

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 2.0.8 (ecosystem)

Fixed versions

2.0.8

Fix

The export has no generic command for this ecosystem.

doctrine/dbal

Packagist · All systems

Affected

  • introduced 2.1.0, fixed 2.1.2 (ecosystem)

Fixed versions

2.1.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences