{"id":"GHSA-qf36-fx9f-232x","aliases":[],"title":"ZendFramework potential SQL Injection Vector When Using PDO_MySql","titleSource":"OSV","descriptionSource":"OSV","declaredSeverity":"CRITICAL","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:\n\nhttp://bugs.php.net/bug.php?id=47802\nThe 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","score":9.8,"published":"2024-06-07T21:13:11.000Z","modified":"2024-06-07T21:13:11.000Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"zendframework/zendframework1","sources":[{"name":"OSV · GHSA-qf36-fx9f-232x","url":"https://osv.dev/vulnerability/GHSA-qf36-fx9f-232x"}],"ranges":[{"events":[{"introduced":"1.10.0"},{"fixed":"1.10.9"}],"type":"ECOSYSTEM"}],"versions":[],"fixed":["1.10.9"]},{"ecosystem":"Packagist","name":"zendframework/zendframework1","sources":[{"name":"OSV · GHSA-qf36-fx9f-232x","url":"https://osv.dev/vulnerability/GHSA-qf36-fx9f-232x"}],"ranges":[{"events":[{"introduced":"1.11.0"},{"fixed":"1.11.6"}],"type":"ECOSYSTEM"}],"versions":[],"fixed":["1.11.6"]}],"sourceAffected":[],"references":["https://framework.zend.com/security/advisory/ZF2011-02","https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/ZF2011-02.yaml","https://github.com/zendframework/zf1","http://bugs.php.net/bug.php?id=47802"],"sources":[{"name":"OSV","id":"GHSA-qf36-fx9f-232x","modified":"2024-06-07T21:13:11Z","url":"https://osv.dev/vulnerability/GHSA-qf36-fx9f-232x"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8}],"products":[],"remediation":[],"kev":{"status":"unavailable","checkedAt":"2026-10-28T22:15:33.378Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[]}