Bug 2055879 (CVE-2021-21708) - CVE-2021-21708 php: Use after free due to php_filter_float() failing for ints
Summary: CVE-2021-21708 php: Use after free due to php_filter_float() failing for ints
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2021-21708
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: 2055880 2056798 2056799 2056800 2056801
Blocks: 2055881
TreeView+ depends on / blocked
 
Reported: 2022-02-17 20:43 UTC by Pedro Sampaio
Modified: 2022-12-04 20:37 UTC (History)
6 users (show)

Fixed In Version: php 7.4.28
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in PHP. The vulnerability occurs due to the malformed php_filter_float() function and leads to a use-after-free vulnerability. This flaw allows an attacker to inject a malicious file, leading to a crash or a Segmentation fault.
Clone Of:
Environment:
Last Closed: 2022-12-04 20:37:18 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:7624 0 None None None 2022-11-08 09:51:30 UTC
Red Hat Product Errata RHSA-2022:7628 0 None None None 2022-11-08 09:52:21 UTC
Red Hat Product Errata RHSA-2022:8197 0 None None None 2022-11-15 10:35:33 UTC

Description Pedro Sampaio 2022-02-17 20:43:02 UTC
Use after free due to php_filter_float() failing for ints.

References:

https://bugs.php.net/bug.php?id=81708
https://www.php.net/ChangeLog-7.php

Comment 1 Pedro Sampaio 2022-02-17 20:43:18 UTC
Created php tracking bugs for this issue:

Affects: fedora-all [bug 2055880]

Comment 2 Remi Collet 2022-02-18 06:59:18 UTC
This only affects PHP > 7.4 (where min∕max_range feature was added), older versions are not affectede

Comment 5 errata-xmlrpc 2022-11-08 09:51:29 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:7624 https://access.redhat.com/errata/RHSA-2022:7624

Comment 6 errata-xmlrpc 2022-11-08 09:52:19 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:7628 https://access.redhat.com/errata/RHSA-2022:7628

Comment 7 errata-xmlrpc 2022-11-15 10:35:31 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:8197 https://access.redhat.com/errata/RHSA-2022:8197

Comment 8 Product Security DevOps Team 2022-12-04 20:37:16 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-2021-21708


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