Vulnerabilities · 2020 · Php
CVE-2020-7066
Php vulnerability
In PHP versions 7.2.x below 7.2.29, 7.3.x below 7.3.16 and 7.4.x below 7.4.4, while using get_headers() with user-supplied URL, if the URL contains zero (\0) character, the URL will be silently truncated at it. This may cause some software to make incorrect assumptions about the target of the get_headers() and possibly send some information to a wrong server.
Affected products
Php, Tenable.sc, Leap, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugs.php.net/bug.php?id=79329 · Exploit
- www.tenable.com/security/tns-2021-14 · Patch
- lists.opensuse.org/opensuse-security-announce/2020-05/msg00025.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2020/04/msg00021.html · Third Party Advisory
- security.netapp.com/advisory/ntap-20200403-0001/ · Third Party Advisory
- usn.ubuntu.com/4330-2/ · Third Party Advisory
- www.debian.org/security/2020/dsa-4717 · Third Party Advisory
- www.debian.org/security/2020/dsa-4719 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2020-7066
- cve.org/CVERecord?id=CVE-2020-7066
More vulnerabilities in Php products
CVE-2025-14180CVE-2025-14178CVE-2025-14177CVE-2025-6491CVE-2025-1861CVE-2025-1736CVE-2025-1735CVE-2025-1734All 740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.