Skip to content
OpenAdvisories
Medium · 5.0 CVE-2021-21704 EUVD-2021-8876GHSA-q773-v75g-5rqg

Multiple vulnerabilities in Firebird client extension

Published Oct 4, 2021 · Updated Sep 17, 2024 · Assigned by php

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 products

VendorProductAffectedFixed
PHP Group PHP 7.3.x – < 7.3.29, 7.4.x – < 7.4.21, 8.0.X – < 8.0.8 7.3.29

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 11 php7.4 7.4.21-1+deb11u1 —
Debian 10 php7.3 7.3.29-1~deb10u1 DSA-4935-1
Debian 9 php7.0 7.0.33-0+deb9u11 DLA-2708-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS php7.4 7.4.3-4ubuntu2.5 USN-5006-1
Ubuntu 18.04 LTS php7.2 7.2.24-0ubuntu0.18.04.8 USN-5006-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS php7.0 7.0.33-0ubuntu0.16.04.16+esm1 USN-5006-2
Ubuntu Pro 14.04 LTS php5 5.5.9+dfsg-1ubuntu4.29+esm14 USN-5006-2
ReleasePackageFixed inAdvisory
SLES 15 SP3 php7 7.4.6-3.22.1 SUSE-SU-2022:4069-1, SUSE-SU-2021:2637-1
SLES 15 SP2 php7 7.4.6-3.22.1 SUSE-SU-2022:4069-1, SUSE-SU-2021:2637-1
SLES 15 SP1 php7 7.2.5-4.79.1 SUSE-SU-2022:4067-1, SUSE-SU-2021:2795-1
SLES 15 php7 7.2.5-4.79.1 SUSE-SU-2022:4067-1, SUSE-SU-2021:2795-1
SLES 12 SP5 php72 7.2.5-1.66.1 SUSE-SU-2021:2638-1
SLES 12 SP5 php74 7.4.6-1.24.1 SUSE-SU-2022:4068-1, SUSE-SU-2021:2636-1
Show 15 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 php72 7.2.5-1.66.1 SUSE-SU-2021:2638-1
SLES 12 php74 7.4.6-1.24.1 SUSE-SU-2022:4068-1, SUSE-SU-2021:2636-1
SLES for SAP 15 SP2 php7 7.4.33-150200.3.46.2 SUSE-SU-2022:4069-1
SLES for SAP 15 SP1 php7 7.2.5-4.79.1 SUSE-SU-2022:4067-1, SUSE-SU-2021:2795-1
SLES for SAP 15 php7 7.2.5-4.79.1 SUSE-SU-2022:4067-1, SUSE-SU-2021:2795-1
SLE HPC 15 SP2 php7 7.4.33-150200.3.46.2 SUSE-SU-2022:4069-1
SLE HPC 15 SP1 php7 7.2.5-4.79.1 SUSE-SU-2022:4067-1, SUSE-SU-2021:2795-1
SLE HPC 15 php7 7.2.5-4.79.1 SUSE-SU-2022:4067-1, SUSE-SU-2021:2795-1
SUSE Manager Server 4.1 php7 7.4.33-150200.3.46.2 SUSE-SU-2022:4069-1
SUSE Manager Server 4.0 php7 7.2.5-4.79.1 SUSE-SU-2021:2795-1
SUSE Manager Retail Branch Server 4.1 php7 7.4.33-150200.3.46.2 SUSE-SU-2022:4069-1
SUSE Manager Retail Branch Server 4.0 php7 7.2.5-4.79.1 SUSE-SU-2021:2795-1
SUSE Manager Proxy 4.1 php7 7.4.33-150200.3.46.2 SUSE-SU-2022:4069-1
SUSE Manager Proxy 4.0 php7 7.2.5-4.79.1 SUSE-SU-2021:2795-1
SUSE Enterprise Storage 7 php7 7.4.33-150200.3.46.2 SUSE-SU-2022:4069-1
SUSE Enterprise Storage 6 php7 7.2.5-4.79.1 SUSE-SU-2022:4067-1, SUSE-SU-2021:2795-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.4 php7 7.2.34-150000.4.103.1 SUSE-SU-2022:4069-1, SUSE-SU-2022:4067-1
openSUSE Leap 15.3 php7 7.2.5-4.79.1 openSUSE-SU-2021:2795-1, openSUSE-SU-2021:2637-1, SUSE-SU-2022:4069-1
openSUSE Leap 15.3 php7-test 7.4.33-150200.3.46.2 SUSE-SU-2022:4069-1
openSUSE Leap 15.2 php7 +1 7.4.6-lp152.2.18.1 openSUSE-SU-2021:1130-1

Advisories 19

References