Out-of-bounds Read Affecting php56-mssql package, versions <0:5.6.9-1.112.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating

    Threat Intelligence

    EPSS
    0.17% (55th 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-AMZN201803-PHP56MSSQL-1686135
  • published 27 Sep 2021
  • disclosed 14 Jan 2020

How to fix?

Upgrade Amazon-Linux:2018.03 php56-mssql to version 0:5.6.9-1.112.amzn1 or higher.
This issue was patched in ALAS-2015-536.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php56-mssql package and not the php56-mssql package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

The compile_branch function in PCRE before 8.37 allows context-dependent attackers to compile incorrect code, cause a denial of service (out-of-bounds heap read and crash), or possibly have other unspecified impact via a regular expression with a group containing a forward reference repeated a large number of times within a repeated outer group that has a zero minimum quantifier.

CVSS Scores

version 3.1
Expand this section

NVD

7.8 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)
    High
  • Availability (A)
    High
Expand this section

Red Hat

6.3 medium