GHSA-42qm-8v8m-m78c: PocketMine MP vulnerable to uncontrolled resource consumption via mismatched type of 'InventoryTransactionPacket'
5.3
CVSS Score
3.1
Basic Information
CVE ID
-
GHSA ID
EPSS Score
-
CWE
Published
6/1/2023
Updated
6/1/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| pocketmine/pocketmine-mp | composer | < 4.18.0-ALPHA2 | 4.18.0-ALPHA2 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from immediate processing of 'MismatchTransactionData' inventory transactions without rate limiting. The advisory specifies the root cause was lack of deferral until tick end and missing rate limits. The fix introduced deferred syncing (tick-end buffering) and the workaround suggests plugin-level rate limiting. This implies the vulnerable code path directly handled mismatch transactions in the packet handler without these protections. While exact code isn't shown, the PacketHandler architecture pattern in PocketMine-MP and the described vulnerability mechanism strongly indicate the MismatchTransactionData handler function as the vulnerable point.