Out-of-bounds Read Affecting php81 package, versions <8.1.12-r0
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ALPINE319-PHP81-6110595
- published 8 Dec 2023
- disclosed 14 Nov 2022
Introduced: 14 Nov 2022
CVE-2022-31630 Open this link in a new tabHow to fix?
Upgrade Alpine:3.19
php81
to version 8.1.12-r0 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream php81
package and not the php81
package as distributed by Alpine
.
See How to fix?
for Alpine:3.19
relevant fixed versions and status.
In PHP versions prior to 7.4.33, 8.0.25 and 8.1.12, when using imageloadfont() function in gd extension, it is possible to supply a specially crafted font file, such as if the loaded font is used with imagechar() function, the read outside allocated buffer will be used. This can lead to crashes or disclosure of confidential information.