CVE-2020-7066

Publication date 1 April 2020

Last updated 24 July 2024


Ubuntu priority

Cvss 3 Severity Score

4.3 · Medium

Score breakdown

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
php5 20.04 LTS focal Not in release
19.10 eoan Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty
php7.0 20.04 LTS focal Not in release
19.10 eoan Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial
Fixed 7.0.33-0ubuntu0.16.04.14
14.04 LTS trusty Not in release
php7.2 20.04 LTS focal Not in release
19.10 eoan Not in release
18.04 LTS bionic
Fixed 7.2.24-0ubuntu0.18.04.4
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
php7.3 20.04 LTS focal Not in release
19.10 eoan
Fixed 7.3.11-0ubuntu0.19.10.4
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release
php7.4 20.04 LTS focal
Fixed 7.4.3-4ubuntu1.1
19.10 eoan Not in release
18.04 LTS bionic Not in release
16.04 LTS xenial Not in release
14.04 LTS trusty Not in release

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro

Notes


sbeattie

PEAR issues should go against php-pear as of xenial


leosilva

php5 in precise is 5.3 and does not support the Zend API needed to fix this issue. Since backport this is to intrusive, marking it as ignored for precise/esm.

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
php5

Severity score breakdown

Parameter Value
Base score 4.3 · Medium
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Scope Unchanged
Confidentiality Low
Integrity impact None
Availability impact None
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

References

Related Ubuntu Security Notices (USN)

Other references