ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2023-0568

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSphp5
All versions, no fix listed
Ubuntu:Pro:16.04:LTSphp7.0
All versions before 7.0.33-0ubuntu0.16.04.16+esm5 (fixed in 7.0.33-0ubuntu0.16.04.16+esm5)
Ubuntu:18.04:LTSphp7.2
All versions before 7.2.24-0ubuntu0.18.04.17 (fixed in 7.2.24-0ubuntu0.18.04.17)
Ubuntu:20.04:LTSphp7.4
All versions before 7.4.3-4ubuntu2.18 (fixed in 7.4.3-4ubuntu2.18)
Ubuntu:22.04:LTSphp8.1
All versions before 8.1.2-1ubuntu2.11 (fixed in 8.1.2-1ubuntu2.11)

References