Vulnerability database / CVE-2021-21704
CVE-2021-21704
MEDIUM 5.9 CVSS 3.1 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.
Published 4 Oct 2021
Last modified 17 Jun 2026 Assigned by security@php.net NVD status Modified Weakness
CWE-125 CWE-787 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.1
MEDIUM 5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HNVD
security@php.net (Secondary)
CVSS 3.1
MEDIUM 5.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:LNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 4.3
AV:N/AC:M/Au:N/C:N/I:N/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 7.3.0, < 7.3.29
7.3.29 NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 7.4.0, < 7.4.21
7.4.21 NVD
php
phpcpe:2.3:a:php:php:*:*:*:*:*:*:*:*
>= 8.0.0, < 8.0.8
8.0.8 NVD
netapp
clustered_data_ontapcpe:2.3:a:netapp:clustered_data_ontap:-:*:*:*:*:*:*:*
(no version)
References
https://bugs.php.net/bug.php?id=76448 · Exploit, Issue Tracking, Patch, Vendor Advisory https://bugs.php.net/bug.php?id=76449 · Exploit, Issue Tracking, Patch, Vendor Advisory https://bugs.php.net/bug.php?id=76450 · Exploit, Issue Tracking, Patch, Vendor Advisory https://bugs.php.net/bug.php?id=76452 · Exploit, Issue Tracking, Patch, Vendor Advisory https://security.gentoo.org/glsa/202209-20 · Third Party Advisory https://security.netapp.com/advisory/ntap-20211029-0006/ · Third Party Advisory
History
25 Nov 2026 20:33 UTC · NVD: first stored (published 4 Oct 2021)