Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. zendframework/zendframework
  4. ›
  5. CVE-2016-4861

CVE-2016-4861: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

May 14, 2022 (updated July 28, 2023)

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.

References

  • jvn.jp/en/jp/JVN18926672/index.html
  • jvndb.jvn.jp/jvndb/JVNDB-2016-000158
  • framework.zend.com/security/advisory/ZF2016-03
  • github.com/advisories/GHSA-xfjq-w3cw-h5fq
  • lists.debian.org/debian-lts-announce/2018/06/msg00012.html
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2JUKFTI6ABK7ZN7IEAGPCLAHCFANMID2/
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/N27AV6AL6B4KGEP3VIMIHQ5LFAKF5FTU/
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UR5HXNGIUSSIZKMSZYMPBEPZEZTYFTIT/
  • nvd.nist.gov/vuln/detail/CVE-2016-4861
  • security.gentoo.org/glsa/201804-10

Code Behaviors & Features

Detect and mitigate CVE-2016-4861 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.12.20

Fixed versions

  • 1.12.20

Solution

Upgrade to version 1.12.20 or above.

Impact 9.8 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

packagist/zendframework/zendframework/CVE-2016-4861.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:10 +0000.