Advisory

UBUNTU-CVE-2023-0568

Also known as: CVE-2023-0568

Summary

The record has no summary.

Details

In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, core path resolution function allocate buffer one byte too small. When resolving paths with lengths close to system MAXPATHLEN setting, this may lead to the byte after the allocated buffer being overwritten with NUL value, which might lead to unauthorized data access or modification.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2023-02-16 07:15 UTC
Modified
2026-10-21 23:00 UTC

Affected packages and fixes

php7.2

Debian packages (deb) · Ubuntu 18.04

Affected

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

Fixed versions

7.2.24-0ubuntu0.18.04.17

Fix

  • Fixed version 7.2.24-0ubuntu0.18.04.17
    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-4ubuntu2.18 (ecosystem)

Fixed versions

7.4.3-4ubuntu2.18

Fix

  • Fixed version 7.4.3-4ubuntu2.18
    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.

php8.1

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 8.1.2-1ubuntu2.11 (ecosystem)

Fixed versions

8.1.2-1ubuntu2.11

Fix

  • Fixed version 8.1.2-1ubuntu2.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.

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