Out-of-bounds Read Affecting php-enchant package, versions <0:7.3.20-1.module+el8.2.0+7373+b272fdef


Severity

Recommended
medium

Based on CentOS security rating

    Threat Intelligence

    EPSS
    0.59% (79th 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-CENTOS8-PHPENCHANT-1947855
  • published 26 Jul 2021
  • disclosed 6 Nov 2019

How to fix?

Upgrade Centos:8 php-enchant to version 0:7.3.20-1.module+el8.2.0+7373+b272fdef or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-enchant package and not the php-enchant package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

An issue was discovered in Oniguruma 6.x before 6.9.4_rc2. In the function gb18030_mbc_enc_len in file gb18030.c, a UChar pointer is dereferenced without checking if it passed the end of the matched string. This leads to a heap-based buffer over-read.

CVSS Scores

version 3.1
Expand this section

NVD

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

Red Hat

7.5 high
Expand this section

SUSE

7.5 high