CVE-2023-0568
Public on 2023-02-16
Modified on 2024-04-29
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.
Severity
CVSS v3 Base Score
See breakdown
Affected Packages
Platform | Package | Release Date | Advisory | Status |
---|---|---|---|---|
Amazon Linux 2 - Core | php | No Fix Planned | ||
Amazon Linux 2 - Php8.0 Extra | php | 2023-08-21 | ALAS2PHP8.0-2023-002 | Fixed |
Amazon Linux 2 - Php8.1 Extra | php | 2023-08-21 | ALAS2PHP8.1-2023-002 | Fixed |
Amazon Linux 2 - Php8.2 Extra | php | 2023-08-04 | ALAS2PHP8.2-2023-001 | Fixed |
Amazon Linux 1 | php56 | Pending Fix | ||
Amazon Linux 2023 | php8.1 | 2023-03-20 | ALAS2023-2023-139 | Fixed |
CVSS Scores
Score Type | Score | Vector | |
---|---|---|---|
Amazon Linux | CVSSv3 | 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
NVD | CVSSv3 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |