CVE-2023-0568
Array overrun in common path resolve code
8.1
HIGH
CVSS 3.1
EPSS 0.57%
Description
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.
How to fix CVE-2023-0568
To remediate CVE-2023-0568, upgrade the affected package to a fixed version below.
- —upgrade to 8.0.28 or later
- —upgrade to 8.0.28 or later
- —upgrade to 8.0.28 or later
- —upgrade to 7.4.33-1+deb11u3 or later
- —upgrade to 8.2.4-1 or later
Is CVE-2023-0568 being exploited?
Low — EPSS is 0.6%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- >= 8.0.0, < 8.0.28, >= 8.1.0, < 8.1.16, >= 8.2.0, < 8.2.3
- >= 8.0.0, < 8.0.28, >= 8.1.0, < 8.1.16, >= 8.2.0, < 8.2.3
- >= 8.0.0, < 8.0.28, >= 8.1.0, < 8.1.16, >= 8.2.0, < 8.2.3
- from 0, < 7.4.33-1+deb11u3
- from 0, < 8.2.4-1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |