NULL Pointer Dereference Affecting php72-soap package, versions <0:7.2.28-1.21.amzn1


Severity

Recommended
medium

Based on Amazon Linux security rating

    Threat Intelligence

    EPSS
    0.73% (81st 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-PHP72SOAP-1721066
  • published 27 Sep 2021
  • disclosed 27 Feb 2020

How to fix?

Upgrade Amazon-Linux:2018.03 php72-soap to version 0:7.2.28-1.21.amzn1 or higher.
This issue was patched in ALAS-2020-1350.

NVD Description

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

In PHP versions 7.2.x below 7.2.28, 7.3.x below 7.3.15 and 7.4.x below 7.4.3, when using file upload functionality, if upload progress tracking is enabled, but session.upload_progress.cleanup is set to 0 (disabled), and the file upload fails, the upload procedure would try to clean up data that does not exist and encounter null pointer dereference, which would likely lead to a crash.

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

2.5 low