---
title: "CVE-2021-21704"
canonical_url: "https://pkgseek.com/security/CVE-2021-21704"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2021-21704

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.

CVE-2021-21704 is rated MEDIUM (5.9), with 22 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM (5.9)
- **Affected builds**: 22
- **Affected distros**: 1
- **Distros with fixed_in**: Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Ubuntu | focal | libapache2-mod-php7.4 | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu2.5 |
| Ubuntu | focal | php7.4 | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu2.5 |
| Ubuntu | focal | php7.4-cgi | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu2.5 |
| Ubuntu | focal | php7.4-cli | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu2.5 |
| Ubuntu | focal | php7.4-common | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu2.5 |
| Ubuntu | focal | php7.4-curl | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu2.5 |
| Ubuntu | focal | php7.4-dev | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu2.5 |
| Ubuntu | focal | php7.4-gd | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu2.5 |
| Ubuntu | focal | php7.4-gmp | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu2.5 |
| Ubuntu | focal | php7.4-json | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu2.5 |
| Ubuntu | focal | php7.4-ldap | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu2.5 |
| Ubuntu | focal | php7.4-mysql | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu2.5 |
| Ubuntu | focal | php7.4-odbc | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu2.5 |
| Ubuntu | focal | php7.4-opcache | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu2.5 |
| Ubuntu | focal | php7.4-pgsql | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu2.5 |
| Ubuntu | focal | php7.4-pspell | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu2.5 |
| Ubuntu | focal | php7.4-readline | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu2.5 |
| Ubuntu | focal | php7.4-snmp | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu2.5 |
| Ubuntu | focal | php7.4-sqlite3 | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu2.5 |
| Ubuntu | focal | php7.4-tidy | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu2.5 |
| Ubuntu | focal | php7.4-xml | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu2.5 |
| Ubuntu | focal | php7.4-xmlrpc | 7.4.3-4ubuntu1 | 7.4.3-4ubuntu2.5 |
