Out-of-bounds Read Affecting php:7.3/php-pecl-zip package, versions <0:1.15.4-1.module_el8.5.0+152+112d3b8c


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.14% (51st 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-ALMALINUX8-PHP-5611192
  • published28 May 2023
  • disclosed8 Sept 2020

Introduced: 8 Sep 2020

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

How to fix?

Upgrade AlmaLinux:8 php:7.3/php-pecl-zip to version 0:1.15.4-1.module_el8.5.0+152+112d3b8c or higher.
This issue was patched in ALSA-2020:3662.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php:7.3/php-pecl-zip package and not the php:7.3/php-pecl-zip package as distributed by AlmaLinux. See How to fix? for AlmaLinux: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