CVE-2021-21704
JSON

5.0medium

Multiple vulnerabilities in Firebird client extension

Severity
5.0medium CVSS:3.1 by php
Exploit likelihood
1.67% (higher than 77% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
php
Also known as
BIT-LIBPHP-2021-21704BIT-PHP-2021-21704BIT-PHP-MIN-2021-21704

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.

Affected

Product or packageVersionsReported by
PHP Group PHPfrom 7.3.x before 7.3.29, from 7.4.x before 7.4.21, from 8.0.X before 8.0.8CVE List
php phpfrom 7.3.0 before 7.3.29, from 7.4.0 before 7.4.21, from 8.0.0 before 8.0.8NVD
netapp clustered_data_ontapNot specifiedNVD
libphp (Bitnami)from 7.3.0 before 7.3.29, from 7.4.0 before 7.4.21, from 8.0.0 before 8.0.8Bitnami Vulnerability Database
php (Bitnami)from 7.3.0 before 7.3.29, from 7.4.0 before 7.4.21, from 8.0.0 before 8.0.8Bitnami Vulnerability Database
php-min (Bitnami)from 7.3.0 before 7.3.29, from 7.4.0 before 7.4.21, from 8.0.0 before 8.0.8Bitnami Vulnerability Database

All scores

php5.0medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
NVD5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:N/I:N/A:P
Bitnami Vulnerability Databasemedium rating

Classification

What each source says

CVE List

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.

NVD (es)

En PHP versiones 7.3.x por debajo de 7.3.29, 7.4.x y por debajo de 7.4.21 y 8.0.x por debajo de 8.0.8, cuando es usada la extensión del controlador PDO de Firebird, un servidor de base de datos malicioso podría causar bloqueos en varias funciones de la base de datos, como getAttribute(), execute(), fetch() y otras, al devolver datos de respuesta no válidos que no son analizados correctamente por el controlador. Esto puede resultar en fallos, denegación de servicio o potencialmente una corrupción de memoria

References

https://bugs.php.net/bug.php?id=76448advisory, exploit, issue-tracking, patch, vendor-advisory
https://bugs.php.net/bug.php?id=76449advisory, exploit, issue-tracking, patch, vendor-advisory
https://bugs.php.net/bug.php?id=76450advisory, exploit, issue-tracking, patch, vendor-advisory
https://bugs.php.net/bug.php?id=76452advisory, exploit, issue-tracking, patch, vendor-advisory
https://security.netapp.com/advisory/ntap-20211029-0006/advisory, third-party-advisory
https://security.gentoo.org/glsa/202209-20advisory, third-party-advisory, vendor-advisory
https://nvd.nist.gov/vuln/detail/CVE-2021-21704web

Sources

SourceRecordLicence
CVE ListCVE-2021-21704 changed 2024-09-17CVE Terms of Use
NVDCVE-2021-21704 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-LIBPHP-2021-21704 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-PHP-2021-21704 changed 2026-09-08Apache-2.0
Bitnami Vulnerability DatabaseBIT-PHP-MIN-2021-21704 changed 2026-09-08Apache-2.0