Bug 2107018 (CVE-2022-31627)

Summary: CVE-2022-31627 php: heap buffer overflow in finfo_buffer
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: fedora, jorton, rcollet
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: php 8.1.8 Doc Type: If docs needed, set a value
Doc Text:
A vulnerability was found in php. This issue occurs due to memory corruption in the finfo_buffer() function and a bad patch of the libmagic library. This flaw allows an attacker or malicious actor to execute a heap buffer overflow successfully, causing a memory crash.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-30 00:55:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2107021    
Bug Blocks: 2107019    

Description TEJ RATHI 2022-07-14 07:03:52 UTC
CVE-2022-31627: php - Heap buffer overflow in finfo_buffer

Affects php >= 8.1. Please stabilize 8.1.8.

https://www.php.net/ChangeLog-8.php#8.1.8
https://bugs.php.net/bug.php?id=81723
https://github.com/php/php-src/commit/ca6d511fa54b34d5b75bf120a86482a1b9e1e686

Comment 1 Sandipan Roy 2022-07-14 07:14:15 UTC
Created php tracking bugs for this issue:

Affects: fedora-all [bug 2107021]

Comment 2 Product Security DevOps Team 2022-08-30 00:55:54 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-31627