Advisory

UBUNTU-CVE-2020-7059

Also known as: CVE-2020-7059

Summary

The record has no summary.

Details

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.

Severity

Critical Basis: CVSS v3 score 9.1, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Dates

Published
2020-02-10 08:15 UTC
Modified
2026-04-22 12:44 UTC

Affected packages and fixes

php7.0

Debian packages (deb) · Ubuntu 16.04

Affected

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

Fixed versions

7.0.33-0ubuntu0.16.04.11

Fix

  • Fixed version 7.0.33-0ubuntu0.16.04.11
    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.3 (ecosystem)

Fixed versions

7.2.24-0ubuntu0.18.04.3

Fix

  • Fixed version 7.2.24-0ubuntu0.18.04.3
    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