CRITICAL9.8
GHSA-xfjq-w3cw-h5fq
Zend Framework Allows SQL Injection
Quick fix
GHSA-xfjq-w3cw-h5fq — zendframework/zendframework: upgrade to the fixed version with the command below.
composer require zendframework/zendframework:^1.12.20Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/zendframework/zendframework
Introduced in:
0Fixed in: 1.12.20Fix
composer require zendframework/zendframework:^1.12.20References
- https://nvd.nist.gov/vuln/detail/CVE-2016-4861[ADVISORY]
- https://framework.zend.com/security/advisory/ZF2016-03[WEB]
- https://github.com/zendframework/zendframework[PACKAGE]
- https://lists.debian.org/debian-lts-announce/2018/06/msg00012.html[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2JUKFTI6ABK7ZN7IEAGPCLAHCFANMID2[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N27AV6AL6B4KGEP3VIMIHQ5LFAKF5FTU[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UR5HXNGIUSSIZKMSZYMPBEPZEZTYFTIT[WEB]
- https://security.gentoo.org/glsa/201804-10[WEB]
- http://jvn.jp/en/jp/JVN18926672/index.html[WEB]
- http://jvndb.jvn.jp/jvndb/JVNDB-2016-000158[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:composer/zendframework/zendframework"]}'