CVE-2024-36580: @cdr0/sg Prototype Pollution
N/A
CVSS Score
Basic Information
CVE ID
GHSA ID
EPSS Score
0.26502%
CWE
Published
6/17/2024
Updated
6/17/2024
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
-
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| @cdr0/sg | npm | <= 1.0.10 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The PoC demonstrates prototype pollution via lib.default.setOn() with 'proto.polluted' path. The vulnerability report specifically references ref.js line 89 as the location of the vulnerable code. The setOn function appears to handle property paths without sanitizing prototype-related keywords, enabling attackers to modify Object.prototype properties through crafted input.