{"id":"CVE-2016-4861","published":"2017-02-16T18:00:00Z","modified":"2024-08-06T00:46:38Z","title":"The (1) order and (2) group methods in Zend_Db_Select in the Zend Framework before 1.12.20 might allow remote…","vendor":null,"product":null,"tier":"tail","description":{"text":"The (1) order and (2) group methods in Zend_Db_Select in the Zend Framework before 1.12.20 might allow remote attackers to conduct SQL injection attacks by leveraging failure to remove comments from an SQL statement before validation.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.04124,"percentile":0.91045,"provenance":"source"},"cwes":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UR5HXNGIUSSIZKMSZYMPBEPZEZTYFTIT/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://security.gentoo.org/glsa/201804-10","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2JUKFTI6ABK7ZN7IEAGPCLAHCFANMID2/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N27AV6AL6B4KGEP3VIMIHQ5LFAKF5FTU/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/06/msg00012.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://framework.zend.com/security/advisory/ZF2016-03","tags":["x_refsource_CONFIRM"]},{"url":"http://jvndb.jvn.jp/jvndb/JVNDB-2016-000158","tags":["third-party-advisory","x_refsource_JVNDB"]},{"url":"http://jvn.jp/en/jp/JVN18926672/index.html","tags":["third-party-advisory","x_refsource_JVN"]}],"priority":{"score":23.2,"factors":[{"name":"EPSS percentile","points":18.21},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2016-09-16","earliestUrl":"https://github.com/KosukeShimofuji/CVE-2016-4861","repos":[{"name":"KosukeShimofuji/CVE-2016-4861","url":"https://github.com/KosukeShimofuji/CVE-2016-4861","stars":0,"created":"2016-09-16"}]},"first":{"date":"2016-09-16","source":"PoC-in-GitHub","url":"https://github.com/KosukeShimofuji/CVE-2016-4861"},"provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"zendframework/zendframework","vulnerableRanges":["<1.12.20"],"patched":["1.12.20"],"from":["GHSA-xfjq-w3cw-h5fq"],"provenance":"source"}],"summary":{"text":"The flaw lies in the order and group methods of Zend_Db_Select in the Zend Framework, affecting versions before 1.12.20. These methods fail to strip comments from an SQL statement before validating it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:23:05Z"},"euvd":{"id":"EUVD-2022-5773","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2016-6233","published":"2017-02-16","fixed":"1.12.19","kev":false,"link":{"from":"CVE-2016-6233","to":"CVE-2016-4861","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:zendframework/zendframework","fromFixed":"1.12.19","toFixed":"1.12.20","daysApart":0},{"kind":"similar","provenance":"machine","score":0.65,"basis":"same package + description similarity"}]}},{"cve":"CVE-2016-4861","published":"2017-02-16","fixed":"1.12.20","kev":false},{"cve":"CVE-2014-8088","published":"2014-10-22","fixed":"2.3.3","kev":false},{"cve":"CVE-2014-8089","published":"2020-02-17","fixed":"2.3.3","kev":false},{"cve":"CVE-2015-0270","published":"2019-10-25","fixed":"2.3.5","kev":false}],"package":"Packagist:zendframework/zendframework"}}