Out-of-bounds Write Affecting php56-mssql package, versions <0:5.6.40-1.143.amzn1


Severity

Recommended
critical

Based on Amazon Linux security rating

    Threat Intelligence

    Exploit Maturity
    Mature
    EPSS
    97.2% (100th 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-1720297
  • published 27 Sep 2021
  • disclosed 28 Oct 2019

How to fix?

Upgrade Amazon-Linux:2018.03 php56-mssql to version 0:5.6.40-1.143.amzn1 or higher.
This issue was patched in ALAS-2019-1315.

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.

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it is possible to cause FPM module to write past allocated buffers into the space reserved for FCGI protocol data, thus opening the possibility of remote code execution.

References

CVSS Scores

version 3.1
Expand this section

NVD

9.8 critical
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High