CVE-2021-21704: Multiple vulnerabilities in Firebird client extension
Vulnerability summary
CVE-2021-21704 is a medium (CVSS 5.9) Out-of-bounds Read vulnerability in netapp clustered_data_ontap. EPSS estimates a 1.80% chance of exploitation in the next 30 days, higher than 78.4% of scored vulnerabilities. 4 public exploits are recorded.
Not severe (CVSS 5, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 13 · Related 9Timeline
- 04-10-2021PublishedVulnerability first disclosed.
- 17-09-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 4 sources · 2 versions- CVE.orgCNA5.0MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:LDiffers
- OSV · DebianEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.80%
Chance of exploitation in the next 30 days
Percentile
78%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.80% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
4 foundExploit Reference (bugs.php.net)
Maturity: unknown
Exploit Reference (bugs.php.net)
Maturity: unknown
Exploit Reference (bugs.php.net)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-125Out-of-bounds ReadThe product reads data past the end, or before the beginning, of the intended buffer.
- CWE-190Integer Overflow or WraparoundThe product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Suse15 products
- php72&distro=SUSE Linux Enterprise Module for Web and Scripting 12< 7.2.5-1.66.1
- php72&distro=SUSE Linux Enterprise Software Development Kit 12 SP5< 7.2.5-1.66.1
- php7&distro=SUSE Enterprise Storage 6< 7.2.5-4.79.1
- php7&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS< 7.2.5-4.79.1
- php7&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS< 7.2.5-4.79.1
Ubuntu4 products
- php5< 5.5.9+dfsg-1ubuntu4.29+esm14
- php7.0< 7.0.33-0ubuntu0.16.04.16+esm1
- php7.2< 7.2.24-0ubuntu0.18.04.8
- php7.4< 7.4.3-4ubuntu2.5
Debian1 product
- php7.4< 7.4.21-1+deb11u1
Netapp1 product
Opensuse1 product
- php7&distro=openSUSE Leap 15.3< 7.2.5-4.79.1
Php1 product
- php≥ 7.3.0, < 7.3.29 | ≥ 7.4.0, < 7.4.21 | ≥ 8.0.0, < 8.0.8
Php group1 product
- php≥ 7.3.x, < 7.3.29 | ≥ 7.4.x, < 7.4.21 | ≥ 8.0.X, < 8.0.8
7 vendors · 24 products
References
17 linksShow all 17 references
- lists.opensuse.org/archives/…Advisory