{"id":"CVE-2021-21708","published":"2022-02-27T08:00:12Z","modified":"2024-09-17T03:18:02Z","title":"UAF due to php_filter_float() failing","vendor":"PHP","product":"PHP","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.03002,"percentile":0.87319,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://bugs.php.net/bug.php?id=81708","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20220325-0004/","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/202209-20","tags":["vendor-advisory","x_refsource_GENTOO"]}],"priority":{"score":23.2,"factors":[{"name":"EPSS percentile","points":17.46},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"php","affectedVersions":[{"vendor":"PHP Group","product":"PHP","versions":[">= 7.4.x, < 7.4.28",">= 8.0.X, < 8.0.16",">= 8.1.X, < 8.1.3"]}],"euvd":{"id":"EUVD-2021-8880","exploited":false,"provenance":"source"}}