Advisory

GHSA-qf36-fx9f-232x

Also known as: None

Summary

ZendFramework potential SQL Injection Vector When Using PDO_MySql

Details

Developers using non-ASCII-compatible encodings in conjunction with the MySQL PDO driver of PHP may be vulnerable to SQL injection attacks. Developers using ASCII-compatible encodings like UTF8 or latin1 are not affected by this PHP issue, which is described in more detail here:

http://bugs.php.net/bug.php?id=47802
The PHP Group included a feature in PHP 5.3.6+ that allows any character set information to be passed as part of the DSN in PDO to allow both the database as well as the C-level driver to be aware of which charset is in use which is of special importance when PDO's quoting mechanisms are utilized, which Zend Framework also relies on.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2024-06-07 21:13 UTC
Modified
2024-06-07 21:13 UTC

Affected packages and fixes

zendframework/zendframework1

Packagist · All systems

Affected

  • introduced 1.10.0, fixed 1.10.9 (ecosystem)

Fixed versions

1.10.9

Fix

The export has no generic command for this ecosystem.

zendframework/zendframework1

Packagist · All systems

Affected

  • introduced 1.11.0, fixed 1.11.6 (ecosystem)

Fixed versions

1.11.6

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