CVE-2019-18954: Pomelo allows external control of critical state data
5.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.61691%
CWE
Published
12/2/2019
Updated
9/8/2023
KEV Status
No
Technology
JavaScript
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 |
---|---|---|---|
pomelo | npm | < 2.2.7 | 2.2.7 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the Handler
constructor directly assigning user-provided 'app' parameter to instance properties. The PoC demonstrates sending {get:{}} in requests to connector.entryHandler.constructor
endpoint, which overwrites the get
method. The lack of input validation/sanitization in the constructor allows property collision attacks. Runtime detection would show the Handler
constructor processing malicious input when attackers attempt to overwrite internal attributes.