Advisory

UBUNTU-CVE-2020-7066

Also known as: CVE-2020-7066

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 4.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

Dates

Published
2020-04-01 04:15 UTC
Modified
2026-04-22 12:43 UTC

Affected packages and fixes

php7.0

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 7.0.33-0ubuntu0.16.04.14 (ecosystem)

Fixed versions

7.0.33-0ubuntu0.16.04.14

Fix

  • Fixed version 7.0.33-0ubuntu0.16.04.14
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

php7.2

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 7.2.24-0ubuntu0.18.04.4 (ecosystem)

Fixed versions

7.2.24-0ubuntu0.18.04.4

Fix

  • Fixed version 7.2.24-0ubuntu0.18.04.4
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

php7.4

Debian packages (deb) · Ubuntu 20.04

Affected

  • introduced 0, fixed 7.4.3-4ubuntu1.1 (ecosystem)

Fixed versions

7.4.3-4ubuntu1.1

Fix

  • Fixed version 7.4.3-4ubuntu1.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences