Improper Handling of Length Parameter Inconsistency Affecting php package, versions [,8.1.30) [8.2.0,8.2.24) [8.3.0,8.3.12)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.05% (19th 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-UNMANAGED-PHP-8166375
  • published 8 Oct 2024
  • disclosed 7 Oct 2024
  • credit Mihail Kirov

How to fix?

Upgrade php to version 8.1.30, 8.2.24, 8.3.12 or higher.

Overview

Affected versions of this package are vulnerable to Improper Handling of Length Parameter Inconsistency due to the erroneous parsing of multipart form data contents. An attacker can violate data integrity by sending specially crafted multipart form data payloads that exploit the flawed parsing logic.

Note:

This is only exploitable if the attacker is capable of inserting a maliciously crafted payload at a desired location alongside other legitimate user payloads and is under control of other request parts such as the boundary.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
6 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    None
  • Integrity (VI)
    High
  • Availability (VA)
    None
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None