Bug 1978790 (CVE-2021-21704) - CVE-2021-21704 php: security issues in pdo_firebase module
Summary: CVE-2021-21704 php: security issues in pdo_firebase module
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2021-21704
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1978791 1979973 1979974 1979975
Blocks: 1978792
TreeView+ depends on / blocked
 
Reported: 2021-07-02 18:14 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-07-12 14:38 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Several flaws has been found in php. The pdo_firebase module does not check the length of the server version string in a response packet causing a stack buffer overflow, does not verify the data and uses the wrong type to cast length leading to a crash, and does not validate the response before calculation of the exec procedure leading to a crash. The highest threat from this vulnerability is to system availability.
Clone Of:
Environment:
Last Closed: 2021-07-07 14:37:23 UTC


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-07-02 18:14:05 UTC
Security vulnerabilities in PHP in pdo_firebase module allows attackers to crash PHP.

References:
https://bugs.php.net/bug.php?id=76448
https://bugs.php.net/bug.php?id=76449
https://bugs.php.net/bug.php?id=76450
https://bugs.php.net/bug.php?id=76452

Comment 1 Guilherme de Almeida Suckevicz 2021-07-02 18:14:23 UTC
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1978791]

Comment 3 Marco Benatto 2021-07-07 14:22:42 UTC
Upstream patch for this issue:
https://github.com/php/php-src/commit/08da7c73726f7b86b67d6f0ff87c73c585a7834a


Note You need to log in before you can comment on or make changes to this bug.