CVE-2021-21704

Summary

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 Software

VendorProductVersion RangeStatus
PHP GroupPHP7.3.x < 7.3.29affected
PHP GroupPHP7.4.x < 7.4.21affected
PHP GroupPHP8.0.X < 8.0.8affected

Weaknesses

  • CWE-125: CWE-125 Out-of-bounds Read
  • CWE-190: CWE-190 Integer Overflow or Wraparound

ADP Enrichment

CVE Program Container

Additional References

References