CVE-2023-0568
Last modified
CVE-2023-0568 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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.. EPSS estimates a 1.24% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | >= 8.0.0, < 8.0.28 |
| Php | Php | >= 8.1.0, < 8.1.16 |
| Php | Php | >= 8.2.0, < 8.2.3 |
References
- https://bugs.php.net/bug.php?id=81746Exploit, Issue Tracking, Patch, Vendor Advisory
- https://bugs.php.net/bug.php?id=81746Exploit, Issue Tracking, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-0568?
How severe is CVE-2023-0568?
How do I fix CVE-2023-0568?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-0562A vulnerability was found in PHPGurukul Bank Locker Manageme…9.8
- CVE-2023-0563A vulnerability classified as problematic has been found in …4.8
- CVE-2023-0564Weak Password Requirements in GitHub repository froxlor/frox…7.5
- CVE-2023-0565Business Logic Errors in GitHub repository froxlor/froxlor p…4.9
- CVE-2023-0566Improper Neutralization of Input During Web Page Generation …4.8
- CVE-2023-0567In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X be…6.2
- CVE-2023-0569Weak Password Requirements in GitHub repository publify/publ…6.5
- CVE-2023-0570A vulnerability, which was classified as critical, was found…9.8
- CVE-2023-0571A vulnerability has been found in SourceCodester Canteen Man…5.4
- CVE-2023-0572Unchecked Error Condition in GitHub repository froxlor/froxl…5.3
- CVE-2023-0574Server-Side Request Forgery (SSRF), Improperly Controlled Mo…9.8
- CVE-2023-0575External Control of Critical State Data, Improper Control of…9.8
Are you affected by CVE-2023-0568?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
