CVE-2023-0568
Array overrun in common path resolve code
Summary
Array overrun in common path resolve code
Original description
The description as published by the source.
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
Bitnami
php-min
[{"type":"SEMVER","events":[{"introduced":"8.0.0"},{"fixed":"8.0.28"},{"introduced":"8.1.0"},{"fixed":"8.1.16"},{"introduced":"8.2.0"},{"fixed":"8.2.3"}]}]
Bitnami
libphp
[{"type":"SEMVER","events":[{"introduced":"8.0.0"},{"fixed":"8.0.28"},{"introduced":"8.1.0"},{"fixed":"8.1.16"},{"introduced":"8.2.0"},{"fixed":"8.2.3"}]}]
Bitnami
php
[{"type":"SEMVER","events":[{"introduced":"8.0.0"},{"fixed":"8.0.28"},{"introduced":"8.1.0"},{"fixed":"8.1.16"},{"introduced":"8.2.0"},{"fixed":"8.2.3"}]}]
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2023-0568 php7.4 Fixed in: 7.4.33-1+deb11u3
References
- advisory security.netapp.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- web bugs.php.net