CVEvulnerability

CVE-2020-7066

4.3 MEDIUM Published 2020-04-01 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2020-04-01
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
5.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS 3.1 ([email protected])
4.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
CVSS 2.0 ([email protected])
4.3 MEDIUM — AV:N/AC:M/Au:N/C:P/I:N/A:N
Weaknesses
CWE-170

Description

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 configurations

• php php (>= 7.2.0 < 7.2.29) • php php (>= 7.3.0 < 7.3.16) • php php (>= 7.4.0 < 7.4.4) • tenable tenable.sc (< 5.19.0) • tenable tenable.sc 5.19.0 • opensuse leap 15.1 • debian debian linux 8.0 • debian debian linux 9.0 • debian debian linux 10.0

Related

Weakness · CWE (1)

  • CWE-170 Improper Null Termination weakness

References