---
title: "CVE-2021-21704"
canonical_url: "https://pkgseek.com/security/CVE-2021-21704"
locale: "zh-CN"
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 严重级别为 MEDIUM (5.9)，共索引 22 条受影响软件包构建记录，涉及 1 个发行版。

- **级别 / 评分**: MEDIUM (5.9)
- **受影响构建数**: 22
- **涉及发行版**: 1
- **已标明修复版本发行版**: 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 |
