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.
Published: 2020-02-10
Score: 6.5 Medium
EPSS: 2.4% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

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.

Subscriptions

Debian Debian Linux
Opensuse Leap
Oracle Communications Diameter Signaling Router
Php Php
Redhat Enterprise Linux Rhel Software Collections
Tenable Tenable.sc
cve-icon MITRE

Status: PUBLISHED

Assigner: php

Published:

Updated: 2024-09-17T02:37:14.052Z

Reserved: 2020-01-15T00:00:00.000Z

Link: CVE-2020-7059

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2020-02-10T08:15:12.673

Modified: 2024-11-21T05:36:35.167

Link: CVE-2020-7059

cve-icon Redhat

Severity : Moderate

Publid Date: 2020-01-23T00:00:00Z

Links: CVE-2020-7059 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses