CVE-2021-21704

Advisory lineage Upstream: 0 Downstream: 18
Modified
Published: 04 Oct 2021, 04:00
Last modified:17 Sept 2024, 00:45

Vulnerability Summary

Overall Risk (default)
medium
34/100
CVSS Score
5.9 MEDIUM
v3.1 (nvd)
EPSS Score
0.15% LOW
0% probability +0.01%
KEV
Not listed
Ransomware
No reports
Public exploits
4 found
Dark Web
Not detected

Timeline

04 Oct 2021, 04:00
Published
Vulnerability first disclosed
17 Sept 2024, 00:45
Last Modified
Vulnerability 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

  • v3.1MEDIUMScore: 5CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
  • v3.1MEDIUMScore: 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
  • v2.0MEDIUMScore: 4.3AV:N/AC:M/Au:N/C:N/I:N/A:P

EPSS Trends

Current EPSS score: 0.15% Percentile: 35%

Techniques & Countermeasures

  • CWE-787Out-of-bounds Write

    The product writes data past the end, or before the beginning, of the intended buffer.

  • CWE-125Out-of-bounds Read

    The product reads data past the end, or before the beginning, of the intended buffer.

  • CWE-190Integer Overflow or Wraparound

    The 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.

Affected Systems

  • netappclustered_data_ontap

    na

  • UnknownPHP

    ≥ 7.3.x, < 7.3.29 | ≥ 7.4.x, < 7.4.21 | ≥ 8.0.X, < 8.0.8

  • UnknownPHP

    ≥ 7.3.0, < 7.3.29 | ≥ 7.4.0, < 7.4.21 | ≥ 8.0.0, < 8.0.8

References (6)