Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2020-7059

Summary
Assigner-php
Assigner Org ID-dd77f84a-d19a-4638-8c3d-a322d820ed2b
Published At-10 Feb, 2020 | 07:45
Updated At-17 Sep, 2024 | 02:37
Rejected At-
Credits

OOB read in php_strip_tags_ex

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.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:php
Assigner Org ID:dd77f84a-d19a-4638-8c3d-a322d820ed2b
Published At:10 Feb, 2020 | 07:45
Updated At:17 Sep, 2024 | 02:37
Rejected At:
▼CVE Numbering Authority (CNA)
OOB read in php_strip_tags_ex

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.

Affected Products
Vendor
The PHP GroupPHP Group
Product
PHP
Versions
Affected
  • From 7.2.x before 7.2.27 (custom)
  • From 7.3.x before 7.3.14 (custom)
  • From 7.4.x before 7.4.2 (custom)
Problem Types
TypeCWE IDDescription
CWECWE-125CWE-125 Out-of-bounds Read
Type: CWE
CWE ID: CWE-125
Description: CWE-125 Out-of-bounds Read
Metrics
VersionBase scoreBase severityVector
3.16.5MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Version: 3.1
Base score: 6.5
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

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

Exploits

Credits

Reported by wxhusst at gmail dot com
Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://seclists.org/bugtraq/2020/Feb/27
mailing-list
x_refsource_BUGTRAQ
https://www.debian.org/security/2020/dsa-4626
vendor-advisory
x_refsource_DEBIAN
https://usn.ubuntu.com/4279-1/
vendor-advisory
x_refsource_UBUNTU
https://www.debian.org/security/2020/dsa-4628
vendor-advisory
x_refsource_DEBIAN
https://seclists.org/bugtraq/2020/Feb/31
mailing-list
x_refsource_BUGTRAQ
https://lists.debian.org/debian-lts-announce/2020/02/msg00030.html
mailing-list
x_refsource_MLIST
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00023.html
vendor-advisory
x_refsource_SUSE
https://security.gentoo.org/glsa/202003-57
vendor-advisory
x_refsource_GENTOO
https://www.oracle.com/security-alerts/cpujul2020.html
x_refsource_MISC
https://bugs.php.net/bug.php?id=79099
x_refsource_MISC
https://security.netapp.com/advisory/ntap-20200221-0002/
x_refsource_CONFIRM
https://seclists.org/bugtraq/2021/Jan/3
mailing-list
x_refsource_BUGTRAQ
https://www.oracle.com/security-alerts/cpuApr2021.html
x_refsource_MISC
https://www.tenable.com/security/tns-2021-14
x_refsource_CONFIRM
Hyperlink: https://seclists.org/bugtraq/2020/Feb/27
Resource:
mailing-list
x_refsource_BUGTRAQ
Hyperlink: https://www.debian.org/security/2020/dsa-4626
Resource:
vendor-advisory
x_refsource_DEBIAN
Hyperlink: https://usn.ubuntu.com/4279-1/
Resource:
vendor-advisory
x_refsource_UBUNTU
Hyperlink: https://www.debian.org/security/2020/dsa-4628
Resource:
vendor-advisory
x_refsource_DEBIAN
Hyperlink: https://seclists.org/bugtraq/2020/Feb/31
Resource:
mailing-list
x_refsource_BUGTRAQ
Hyperlink: https://lists.debian.org/debian-lts-announce/2020/02/msg00030.html
Resource:
mailing-list
x_refsource_MLIST
Hyperlink: http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00023.html
Resource:
vendor-advisory
x_refsource_SUSE
Hyperlink: https://security.gentoo.org/glsa/202003-57
Resource:
vendor-advisory
x_refsource_GENTOO
Hyperlink: https://www.oracle.com/security-alerts/cpujul2020.html
Resource:
x_refsource_MISC
Hyperlink: https://bugs.php.net/bug.php?id=79099
Resource:
x_refsource_MISC
Hyperlink: https://security.netapp.com/advisory/ntap-20200221-0002/
Resource:
x_refsource_CONFIRM
Hyperlink: https://seclists.org/bugtraq/2021/Jan/3
Resource:
mailing-list
x_refsource_BUGTRAQ
Hyperlink: https://www.oracle.com/security-alerts/cpuApr2021.html
Resource:
x_refsource_MISC
Hyperlink: https://www.tenable.com/security/tns-2021-14
Resource:
x_refsource_CONFIRM
▼Authorized Data Publishers (ADP)
CVE Program Container
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://seclists.org/bugtraq/2020/Feb/27
mailing-list
x_refsource_BUGTRAQ
x_transferred
https://www.debian.org/security/2020/dsa-4626
vendor-advisory
x_refsource_DEBIAN
x_transferred
https://usn.ubuntu.com/4279-1/
vendor-advisory
x_refsource_UBUNTU
x_transferred
https://www.debian.org/security/2020/dsa-4628
vendor-advisory
x_refsource_DEBIAN
x_transferred
https://seclists.org/bugtraq/2020/Feb/31
mailing-list
x_refsource_BUGTRAQ
x_transferred
https://lists.debian.org/debian-lts-announce/2020/02/msg00030.html
mailing-list
x_refsource_MLIST
x_transferred
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00023.html
vendor-advisory
x_refsource_SUSE
x_transferred
https://security.gentoo.org/glsa/202003-57
vendor-advisory
x_refsource_GENTOO
x_transferred
https://www.oracle.com/security-alerts/cpujul2020.html
x_refsource_MISC
x_transferred
https://bugs.php.net/bug.php?id=79099
x_refsource_MISC
x_transferred
https://security.netapp.com/advisory/ntap-20200221-0002/
x_refsource_CONFIRM
x_transferred
https://seclists.org/bugtraq/2021/Jan/3
mailing-list
x_refsource_BUGTRAQ
x_transferred
https://www.oracle.com/security-alerts/cpuApr2021.html
x_refsource_MISC
x_transferred
https://www.tenable.com/security/tns-2021-14
x_refsource_CONFIRM
x_transferred
Hyperlink: https://seclists.org/bugtraq/2020/Feb/27
Resource:
mailing-list
x_refsource_BUGTRAQ
x_transferred
Hyperlink: https://www.debian.org/security/2020/dsa-4626
Resource:
vendor-advisory
x_refsource_DEBIAN
x_transferred
Hyperlink: https://usn.ubuntu.com/4279-1/
Resource:
vendor-advisory
x_refsource_UBUNTU
x_transferred
Hyperlink: https://www.debian.org/security/2020/dsa-4628
Resource:
vendor-advisory
x_refsource_DEBIAN
x_transferred
Hyperlink: https://seclists.org/bugtraq/2020/Feb/31
Resource:
mailing-list
x_refsource_BUGTRAQ
x_transferred
Hyperlink: https://lists.debian.org/debian-lts-announce/2020/02/msg00030.html
Resource:
mailing-list
x_refsource_MLIST
x_transferred
Hyperlink: http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00023.html
Resource:
vendor-advisory
x_refsource_SUSE
x_transferred
Hyperlink: https://security.gentoo.org/glsa/202003-57
Resource:
vendor-advisory
x_refsource_GENTOO
x_transferred
Hyperlink: https://www.oracle.com/security-alerts/cpujul2020.html
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://bugs.php.net/bug.php?id=79099
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://security.netapp.com/advisory/ntap-20200221-0002/
Resource:
x_refsource_CONFIRM
x_transferred
Hyperlink: https://seclists.org/bugtraq/2021/Jan/3
Resource:
mailing-list
x_refsource_BUGTRAQ
x_transferred
Hyperlink: https://www.oracle.com/security-alerts/cpuApr2021.html
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://www.tenable.com/security/tns-2021-14
Resource:
x_refsource_CONFIRM
x_transferred
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:security@php.net
Published At:10 Feb, 2020 | 08:15
Updated At:01 Jul, 2022 | 12:42

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Primary3.19.1CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Secondary3.16.5MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Primary2.06.4MEDIUM
AV:N/AC:L/Au:N/C:P/I:N/A:P
Type: Primary
Version: 3.1
Base score: 9.1
Base severity: CRITICAL
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Type: Secondary
Version: 3.1
Base score: 6.5
Base severity: MEDIUM
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Type: Primary
Version: 2.0
Base score: 6.4
Base severity: MEDIUM
Vector:
AV:N/AC:L/Au:N/C:P/I:N/A:P
CPE Matches

The PHP Group
php
>>php>>Versions from 7.2.0(inclusive) to 7.2.27(exclusive)
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
The PHP Group
php
>>php>>Versions from 7.3.0(inclusive) to 7.3.14(exclusive)
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
The PHP Group
php
>>php>>Versions from 7.4.0(inclusive) to 7.4.2(exclusive)
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
Tenable, Inc.
tenable
>>tenable.sc>>Versions before 5.19.0(exclusive)
cpe:2.3:a:tenable:tenable.sc:*:*:*:*:*:*:*:*
Oracle Corporation
oracle
>>communications_diameter_signaling_router>>Versions from 8.0(inclusive) to 8.4(inclusive)
cpe:2.3:a:oracle:communications_diameter_signaling_router:*:*:*:*:*:*:*:*
openSUSE
opensuse
>>leap>>15.1
cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
Debian GNU/Linux
debian
>>debian_linux>>8.0
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
Weaknesses
CWE IDTypeSource
CWE-125Primarynvd@nist.gov
CWE-125Secondarysecurity@php.net
CWE ID: CWE-125
Type: Primary
Source: nvd@nist.gov
CWE ID: CWE-125
Type: Secondary
Source: security@php.net
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00023.htmlsecurity@php.net
Third Party Advisory
https://bugs.php.net/bug.php?id=79099security@php.net
Exploit
Vendor Advisory
https://lists.debian.org/debian-lts-announce/2020/02/msg00030.htmlsecurity@php.net
Third Party Advisory
https://seclists.org/bugtraq/2020/Feb/27security@php.net
Mailing List
Third Party Advisory
https://seclists.org/bugtraq/2020/Feb/31security@php.net
Mailing List
Third Party Advisory
https://seclists.org/bugtraq/2021/Jan/3security@php.net
Mailing List
Third Party Advisory
https://security.gentoo.org/glsa/202003-57security@php.net
Third Party Advisory
https://security.netapp.com/advisory/ntap-20200221-0002/security@php.net
Third Party Advisory
https://usn.ubuntu.com/4279-1/security@php.net
Patch
Third Party Advisory
https://www.debian.org/security/2020/dsa-4626security@php.net
Third Party Advisory
https://www.debian.org/security/2020/dsa-4628security@php.net
Third Party Advisory
https://www.oracle.com/security-alerts/cpuApr2021.htmlsecurity@php.net
Third Party Advisory
https://www.oracle.com/security-alerts/cpujul2020.htmlsecurity@php.net
Third Party Advisory
https://www.tenable.com/security/tns-2021-14security@php.net
Patch
Third Party Advisory
Hyperlink: http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00023.html
Source: security@php.net
Resource:
Third Party Advisory
Hyperlink: https://bugs.php.net/bug.php?id=79099
Source: security@php.net
Resource:
Exploit
Vendor Advisory
Hyperlink: https://lists.debian.org/debian-lts-announce/2020/02/msg00030.html
Source: security@php.net
Resource:
Third Party Advisory
Hyperlink: https://seclists.org/bugtraq/2020/Feb/27
Source: security@php.net
Resource:
Mailing List
Third Party Advisory
Hyperlink: https://seclists.org/bugtraq/2020/Feb/31
Source: security@php.net
Resource:
Mailing List
Third Party Advisory
Hyperlink: https://seclists.org/bugtraq/2021/Jan/3
Source: security@php.net
Resource:
Mailing List
Third Party Advisory
Hyperlink: https://security.gentoo.org/glsa/202003-57
Source: security@php.net
Resource:
Third Party Advisory
Hyperlink: https://security.netapp.com/advisory/ntap-20200221-0002/
Source: security@php.net
Resource:
Third Party Advisory
Hyperlink: https://usn.ubuntu.com/4279-1/
Source: security@php.net
Resource:
Patch
Third Party Advisory
Hyperlink: https://www.debian.org/security/2020/dsa-4626
Source: security@php.net
Resource:
Third Party Advisory
Hyperlink: https://www.debian.org/security/2020/dsa-4628
Source: security@php.net
Resource:
Third Party Advisory
Hyperlink: https://www.oracle.com/security-alerts/cpuApr2021.html
Source: security@php.net
Resource:
Third Party Advisory
Hyperlink: https://www.oracle.com/security-alerts/cpujul2020.html
Source: security@php.net
Resource:
Third Party Advisory
Hyperlink: https://www.tenable.com/security/tns-2021-14
Source: security@php.net
Resource:
Patch
Third Party Advisory

Change History

0
Information is not available yet

Similar CVEs

0Records found

Details not found