CVE-2020-7059

OOB read in php_strip_tags_ex

Published Feb 10, 2020 CVSS 3.1 · 6.5 Medium EPSS 7.1% KEV · Not listed
Description
When using fgetss() function to read data with stripping tags, in PHP versions 7.2.x below 7.2.27, 7.3.x below 7.3.14 and 7.4.x below 7.4.2 it is possible to supply data that will cause this function to read past the allocated buffer. This may lead to information disclosure or crash.

Remediation

Vendor Workaround

Usage of fgetss() has been DEPRECATED as of PHP 7.3.0. Please use strip_tags() or other means sanitizing HTML code.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2124-1 php5 security update
Debian DSA Debian DSA DSA-4626-1 php7.3 security update
Debian DSA Debian DSA DSA-4628-1 php7.0 security update
EUVD EUVD EUVD-2020-28193 When using fgetss() function to read data with stripping tags, in PHP versions 7.2.x below 7.2.27, 7.3.x below 7.3.14 and 7.4.x below 7.4.2 it is possible to supply data that will cause this function to read past the allocated buffer. This may lead to information disclosure or crash.
Ubuntu USN Ubuntu USN USN-4279-1 PHP vulnerabilities
History

No history.