Improper Input Validation Affecting php-gd package, versions <0:8.0.27-1.module+el8.7.0+17863+0ad92cd2
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-CENTOS8-PHPGD-3097859
- published 2 Nov 2022
- disclosed 27 Oct 2022
How to fix?
Upgrade Centos:8 php-gd to version 0:8.0.27-1.module+el8.7.0+17863+0ad92cd2 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream php-gd package and not the php-gd package as distributed by Centos.
See How to fix? for Centos:8 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.