CVE-2021-21708

CVSS V2 Medium 6.8 CVSS V3 Critical 9.8
Description
In PHP versions 7.4.x below 7.4.28, 8.0.x below 8.0.16, and 8.1.x below 8.1.3, when using filter functions with FILTER_VALIDATE_FLOAT filter and min/max limits, if the filter fails, there is a possibility to trigger use of allocated memory after free, which can result it crashes, and potentially in overwrite of other memory chunks and RCE. This issue affects: code that uses FILTER_VALIDATE_FLOAT with min/max limits.
Overview
  • CVE ID
  • CVE-2021-21708
  • Assigner
  • security@php.net
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2022-02-27T08:15:06
  • Last Modified Date
  • 2022-10-07T14:31:22
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 1 OR 7.4.0 7.4.28
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 1 OR 8.0.0 8.0.16
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 1 OR 8.1.0 8.1.3
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:M/Au:N/C:P/I:P/A:P
  • Access Vector
  • NETWORK
  • Access Compatibility
  • MEDIUM
  • Authentication
  • NONE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • PARTIAL
  • Availability Impact
  • PARTIAL
  • Base Score
  • 6.8
  • Severity
  • MEDIUM
  • Exploitability Score
  • 8.6
  • Impact Score
  • 6.4
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • HIGH
  • Availability Impact
  • HIGH
  • Base Score
  • 9.8
  • Base Severity
  • CRITICAL
  • Exploitability Score
  • 3.9
  • Impact Score
  • 5.9
References
Reference URL Reference Tags
https://bugs.php.net/bug.php?id=81708 Exploit Issue Tracking Patch Vendor Advisory
https://security.gentoo.org/glsa/202209-20 Third Party Advisory
https://security.netapp.com/advisory/ntap-20220325-0004/ Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-04-04 00:42:18 Added to TrackCVE
2022-12-06 10:55:32 2022-02-27T08:15Z 2022-02-27T08:15:06 CVE Published Date updated
2022-12-06 10:55:32 2022-10-07T14:31:22 CVE Modified Date updated
2022-12-06 10:55:32 Analyzed Vulnerability Status updated
2022-12-06 10:55:37 References updated