CVE-2014-8089 — Vulnerability in zendframework/zend-db — CVE Details
Zend Framework SQL injection vulnerability
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (2.55%). Schedule for your next planned update.
Does your project use an affected zendframework/zend-db version?
Paste your composer.lock to check it for CVE-2014-8089 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
SQL injection vulnerability in Zend Framework before 1.12.9, 2.2.x before 2.2.8, and 2.3.x before 2.3.3, when using the sqlsrv PHP extension, allows remote attackers to execute arbitrary SQL commands via a null byte.
Advisory Timeline
- First published April 23, 2024 (947 days ago).
- Last revised April 23, 2024 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "zendframework/zend-db:^2.3.3"
composer require "zendframework/zendframework:^2.3.3"
composer require "zendframework/zend-db:^2.0.99"
composer require "zendframework/zendframework1:^1.12.9"
composer require "zendframework/zend-db:^2.2.8"
composer require "zendframework/zendframework:^2.2.8"
composer require "zendframework/zend-db:^2.1.99"
composer require "zendframework/zendframework:^2.0.99"
composer require "zendframework/zendframework:^2.1.99"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (9)
Affects 1 ecosystem: Packagist (3).
| Package | Fixed In |
|---|---|
| zendframework/zend-db Packagist · Affected: 2.3.0, 2.3.1, 2.3.2 | 2.3.3 |
| zendframework/zendframework Packagist · Affected: 2.3.0, 2.3.1, 2.3.2 | 2.3.3 |
| zendframework/zend-db Packagist · Affected: 2.0.3, 2.0.4, 2.0.5, 2.0.6 (+2 more) | 2.0.99 |
| zendframework/zendframework1 Packagist · Affected: 1.12.0, 1.12.1, 1.12.2, 1.12.3 (+5 more) | 1.12.9 |
| zendframework/zend-db Packagist · Affected: 2.2.0, 2.2.1, 2.2.2, 2.2.3 (+4 more) | 2.2.8 |
| zendframework/zendframework Packagist · Affected: 2.2.0, 2.2.1, 2.2.2, 2.2.3 (+4 more) | 2.2.8 |
| zendframework/zend-db Packagist · Affected: 2.1.0, 2.1.1, 2.1.2, 2.1.3 (+3 more) | 2.1.99 |
| zendframework/zendframework Packagist · Affected: 2.0.0, 2.0.1, 2.0.2, 2.0.3 (+5 more) | 2.0.99 |
| zendframework/zendframework Packagist · Affected: 2.1.0, 2.1.1, 2.1.2, 2.1.3 (+3 more) | 2.1.99 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-89SQL InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-8089ADVISORY
- https://bugzilla.redhat.com/show_bug.cgi?id=1151277WEB
- https://framework.zend.com/security/advisory/ZF2014-06WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zend-db/CVE-2014-8089.yamlWEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework/CVE-2014-8089.yamlWEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework1/CVE-2014-8089.yamlWEB
- https://seclists.org/oss-sec/2014/q4/276WEB
- https://www.securityfocus.com/bid/70011WEB
Frequently Asked Questions
- What is CVE-2014-8089?
- Zend Framework SQL injection vulnerability. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2014-8089?
- CVE-2014-8089 affects zendframework/zend-db, zendframework/zendframework and zendframework/zendframework1. It has a 2.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2014-8089 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top quartile of EPSS-scored vulnerabilities — 85.7% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2015-7695CRITICAL
Zend Framework SQL injection vector using null byte for PDO
- CVE-2016-6233CRITICAL
Zend Framework Allows SQL Injection
- CVE-2026-63412CRITICAL
Jane: Instantiation RCE via query parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)
- CVE-2015-0270CRITICAL
Zend Framework Allows SQL Injection
- CVE-2026-63413CRITICAL
Jane: Instantiation RCE via header parameter name -> raw PHPDoc */ breakout (jane-php/open-api-3)