Bug 2107018 (CVE-2022-31627) - CVE-2022-31627 php: heap buffer overflow in finfo_buffer
Summary: CVE-2022-31627 php: heap buffer overflow in finfo_buffer
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2022-31627
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2107021
Blocks: 2107019
TreeView+ depends on / blocked
 
Reported: 2022-07-14 07:03 UTC by TEJ RATHI
Modified: 2022-08-30 00:55 UTC (History)
3 users (show)

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.
Clone Of:
Environment:
Last Closed: 2022-08-30 00:55:56 UTC
Embargoed:


Attachments (Terms of Use)

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


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