Out-of-bounds Read Affecting php7-ctype package, versions <7.4.33-150200.3.46.2


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating

    Threat Intelligence

    EPSS
    0.08% (35th percentile)

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-SLES152-PHP7CTYPE-3130879
  • published 19 Nov 2022
  • disclosed 18 Nov 2022

How to fix?

Upgrade SLES:15.2 php7-ctype to version 7.4.33-150200.3.46.2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php7-ctype package and not the php7-ctype package as distributed by SLES. See How to fix? for SLES:15.2 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.

CVSS Scores

version 3.1
Expand this section

NVD

7.1 high
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    None
  • Availability (A)
    High
Expand this section

SUSE

5.3 medium
Expand this section

Red Hat

6.5 medium