Out-of-bounds Read Affecting php-mbstring 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.15% (53rd 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 IDSNYK-CENTOS8-PHPMBSTRING-2045614
  • published26 Jul 2021
  • disclosed28 Jul 2019

Introduced: 28 Jul 2019

CVE-2019-20454  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Centos:8 php-mbstring 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-mbstring package and not the php-mbstring package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

An out-of-bounds read was discovered in PCRE before 10.34 when the pattern \X is JIT compiled and used to match specially crafted subjects in non-UTF mode. Applications that use PCRE to parse untrusted input may be vulnerable to this flaw, which would allow an attacker to crash the application. The flaw occurs in do_extuni_no_utf in pcre2_jit_compile.c.

CVSS Scores

version 3.1