# GHSA-qf36-fx9f-232x: ZendFramework potential SQL Injection Vector When Using PDO_MySql

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-06-07T21:13:11.000Z
- Modified: 2024-06-07T21:13:11.000Z
- Weaknesses: CWE-89

## Description

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.

(As written by GitHub Advisory Database.)

## Affected

- zendframework/zendframework1 (Packagist): from 1.10.0 before 1.10.9; from 1.11.0 before 1.11.6

## References

- <https://framework.zend.com/security/advisory/ZF2011-02> (web)
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/ZF2011-02.yaml> (web)
- <https://github.com/zendframework/zf1> (package)
- <http://bugs.php.net/bug.php?id=47802> (web)

## Sources

- GitHub Advisory Database: [GHSA-qf36-fx9f-232x](https://github.com/advisories/GHSA-qf36-fx9f-232x), CC-BY-4.0, modified 2024-06-07

---

Page: https://cve.day/GHSA-qf36-fx9f-232x · Whole record: https://cve.day/GHSA-qf36-fx9f-232x.json · Rebuilt by cve.day 2026-11-25T22:56:32.828Z
