{"containers":{"cna":{"affected":[{"product":"PHP","vendor":"PHP Group","versions":[{"lessThan":"7.4.28","status":"affected","version":"7.4.x","versionType":"custom"},{"lessThan":"8.0.16","status":"affected","version":"8.0.X","versionType":"custom"},{"lessThan":"8.1.3","status":"affected","version":"8.1.X","versionType":"custom"}]}],"credits":[{"lang":"en","value":"dukk at softdev dot online"}],"datePublic":"2022-02-14T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":8.2,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","description":"CWE-416 Use After Free","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2022-09-29T16:06:49.000Z","orgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","shortName":"php"},"references":[{"tags":["x_refsource_MISC"],"url":"https://bugs.php.net/bug.php?id=81708"},{"tags":["x_refsource_CONFIRM"],"url":"https://security.netapp.com/advisory/ntap-20220325-0004/"},{"name":"GLSA-202209-20","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"https://security.gentoo.org/glsa/202209-20"}],"source":{"defect":["https://bugs.php.net/bug.php?id=81708"],"discovery":"EXTERNAL"},"title":"UAF due to php_filter_float() failing","x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security@php.net","DATE_PUBLIC":"2022-02-14T08:00:00.000Z","ID":"CVE-2021-21708","STATE":"PUBLIC","TITLE":"UAF due to php_filter_float() failing"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"PHP","version":{"version_data":[{"version_affected":"<","version_name":"7.4.x","version_value":"7.4.28"},{"version_affected":"<","version_name":"8.0.X","version_value":"8.0.16"},{"version_affected":"<","version_name":"8.1.X","version_value":"8.1.3"}]}}]},"vendor_name":"PHP Group"}]}},"credit":[{"lang":"eng","value":"dukk at softdev dot online"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":8.2,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-416 Use After Free"}]}]},"references":{"reference_data":[{"name":"https://bugs.php.net/bug.php?id=81708","refsource":"MISC","url":"https://bugs.php.net/bug.php?id=81708"},{"name":"https://security.netapp.com/advisory/ntap-20220325-0004/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20220325-0004/"},{"name":"GLSA-202209-20","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202209-20"}]},"source":{"defect":["https://bugs.php.net/bug.php?id=81708"],"discovery":"EXTERNAL"}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T18:23:28.601Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://bugs.php.net/bug.php?id=81708"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://security.netapp.com/advisory/ntap-20220325-0004/"},{"name":"GLSA-202209-20","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"https://security.gentoo.org/glsa/202209-20"}]}]},"cveMetadata":{"assignerOrgId":"dd77f84a-d19a-4638-8c3d-a322d820ed2b","assignerShortName":"php","cveId":"CVE-2021-21708","datePublished":"2022-02-27T08:00:12.018Z","dateReserved":"2021-01-04T00:00:00.000Z","dateUpdated":"2024-09-17T03:18:02.531Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}