CVE-2023-0568
Published Feb 16, 2023
Last updated a year ago
Overview
- 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.
- Source
- security@php.net
- NVD status
- Modified
Social media
- Hype score
- Not currently trending
Risk scores
CVSS 3.1
- Type
- Primary
- Base score
- 8.1
- Impact score
- 5.9
- Exploitability score
- 2.2
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Severity
- HIGH
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "BBCCD85D-5679-42EE-B6C6-A9A309E2B4BC", "versionEndExcluding": "8.0.28", "versionStartIncluding": "8.0.0" }, { "criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "EDC7B443-3E3C-4888-AC9B-7415D2C5C059", "versionEndExcluding": "8.1.16", "versionStartIncluding": "8.1.0" }, { "criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "7C14298C-48A4-4FD8-BFA0-808CF935490B", "versionEndExcluding": "8.2.3", "versionStartIncluding": "8.2.0" } ], "operator": "OR" } ] } ]