vulnerability
PHP Vulnerability: CVE-2021-21704
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 4 | (AV:N/AC:M/Au:N/C:N/I:N/A:P) | Oct 4, 2021 | Nov 30, 2021 | Mar 30, 2026 |
Severity
4
CVSS
(AV:N/AC:M/Au:N/C:N/I:N/A:P)
Published
Oct 4, 2021
Added
Nov 30, 2021
Modified
Mar 30, 2026
Description
In PHP versions 7.3.x below 7.3.29, 7.4.x below 7.4.21 and 8.0.x below 8.0.8, when using Firebird PDO driver extension, a malicious database server could cause crashes in various database functions, such as getAttribute(), execute(), fetch() and others by returning invalid response data that is not parsed correctly by the driver. This can result in crashes, denial of service or potentially memory corruption.
Solutions
php-upgrade-7_3_28php-upgrade-7_4_20php-upgrade-8_0_7
References
- CVE-2021-21704
- https://attackerkb.com/topics/CVE-2021-21704
- CWE-125
- CWE-190
- CWE-787
- EUVD-EUVD-2021-8876
- https://bugs.php.net/bug.php?id=76448
- https://bugs.php.net/bug.php?id=76449
- https://bugs.php.net/bug.php?id=76450
- https://bugs.php.net/bug.php?id=76452
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-8876
Rapid7 Labs
2026 Global Threat Landscape Report
The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.