CVE-2020-7059
Last modified
CVE-2020-7059 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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.. EPSS estimates a 7.40% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | >= 7.2.0, < 7.2.27 |
| Php | Php | >= 7.3.0, < 7.3.14 |
| Php | Php | >= 7.4.0, < 7.4.2 |
| Tenable | Tenable.Sc | < 5.19.0 |
| Oracle | Communications Diameter Signaling Router | >= 8.0, <= 8.4 |
| Opensuse | Leap | 15.1 |
| Debian | Debian Linux | 8.0 |
References
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00023.htmlThird Party Advisory
- https://bugs.php.net/bug.php?id=79099Exploit, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2020/02/msg00030.htmlThird Party Advisory
- https://seclists.org/bugtraq/2020/Feb/27Mailing List, Third Party Advisory
- https://seclists.org/bugtraq/2020/Feb/31Mailing List, Third Party Advisory
- https://seclists.org/bugtraq/2021/Jan/3Mailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202003-57Third Party Advisory
- https://security.netapp.com/advisory/ntap-20200221-0002/Third Party Advisory
- https://usn.ubuntu.com/4279-1/Patch, Third Party Advisory
- https://www.debian.org/security/2020/dsa-4626Third Party Advisory
- https://www.debian.org/security/2020/dsa-4628Third Party Advisory
- https://www.oracle.com/security-alerts/cpuApr2021.htmlThird Party Advisory
- https://www.oracle.com/security-alerts/cpujul2020.htmlThird Party Advisory
- https://www.tenable.com/security/tns-2021-14Patch, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00023.htmlThird Party Advisory
- https://bugs.php.net/bug.php?id=79099Exploit, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2020/02/msg00030.htmlThird Party Advisory
- https://seclists.org/bugtraq/2020/Feb/27Mailing List, Third Party Advisory
- https://seclists.org/bugtraq/2020/Feb/31Mailing List, Third Party Advisory
- https://seclists.org/bugtraq/2021/Jan/3Mailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202003-57Third Party Advisory
- https://security.netapp.com/advisory/ntap-20200221-0002/Third Party Advisory
- https://usn.ubuntu.com/4279-1/Patch, Third Party Advisory
- https://www.debian.org/security/2020/dsa-4626Third Party Advisory
- https://www.debian.org/security/2020/dsa-4628Third Party Advisory
- https://www.oracle.com/security-alerts/cpuApr2021.htmlThird Party Advisory
- https://www.oracle.com/security-alerts/cpujul2020.htmlThird Party Advisory
- https://www.tenable.com/security/tns-2021-14Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-7059?
How severe is CVE-2020-7059?
How do I fix CVE-2020-7059?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2020
- CVE-2020-7052CODESYS Control V3, Gateway V3, and HMI V3 before 3.5.15.30 …6.5
- CVE-2020-7053In the Linux kernel 4.14 longterm through 4.14.165 and 4.19 …7.8
- CVE-2020-7054MmsValue_decodeMmsData in mms/iso_mms/server/mms_access_resu…8.8
- CVE-2020-7055An issue was discovered in Elementor 2.7.4. Arbitrary file u…9.9
- CVE-2020-7057Hikvision DVR DS-7204HGHI-F1 V4.0.1 build 180903 Web Version…5.3
- CVE-2020-7058data_input.php in Cacti 1.2.8 allows remote code execution v…8.8
- CVE-2020-7060When using certain mbstring functions to convert multibyte e…9.1
- CVE-2020-7061In PHP versions 7.3.x below 7.3.15 and 7.4.x below 7.4.3, wh…9.1
- CVE-2020-7062In PHP versions 7.2.x below 7.2.28, 7.3.x below 7.3.15 and 7…7.5
- CVE-2020-7063In PHP versions 7.2.x below 7.2.28, 7.3.x below 7.3.15 and 7…5.3
- CVE-2020-7064In PHP versions 7.2.x below 7.2.9, 7.3.x below 7.3.16 and 7.…5.4
- CVE-2020-7065In PHP versions 7.3.x below 7.3.16 and 7.4.x below 7.4.4, wh…8.8
Are you affected by CVE-2020-7059?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
