Bug 1978790 (CVE-2021-21704)

Summary: CVE-2021-21704 php: security issues in pdo_firebase module
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: fedora, hhorak, jorton, rcollet
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-07 14:37:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1978791, 1979973, 1979974, 1979975    
Bug Blocks: 1978792    

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.


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: