CVE-2024-36582: @alexbinary/object deep assign Object-deep-assign Prototype Pollution Vulnerability
MODERATECVE-2024-36582 is a MODERATE object-deep-assign prototype pollution vulnerability (General Security Weakness) affecting @alexbinary/object deep assign libraries in the npm ecosystem. The issue involves object-deep-assign prototype pollution. Remediation is available in the latest vendor maintenance releases.
CVE-2024-36582 at a Glance
How to Fix CVE-2024-36582
To remediate this vulnerability, upgrade all affected @alexbinary/object deep assign dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install @alexbinary/object-deep-assign@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls @alexbinary/object-deep-assign
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2024-36582, inspect your project dependencies using npm:
npm ls @alexbinary/object-deep-assign
Analyze the terminal output to locate any version of @alexbinary/object deep assign in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls @alexbinary/object-deep-assign command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In @alexbinary/object deep assign, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-36582 Affected @alexbinary/object deep assign Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
@alexbinary/object-deep-assign
|
npm |
≤ 1.0.11
|
|
References
Frequently Asked Questions
What is CVE-2024-36582?
Which @alexbinary/object deep assign versions are affected?
What version fixes CVE-2024-36582?
Is @alexbinary/object-deep-assign affected?
What CWE is associated with CVE-2024-36582?
How can I check npm dependencies for CVE-2024-36582?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4xg3-7w7q-856q",
"modified" : "2024-06-17T21:37:37Z",
"published" : "2024-06-17T15:30:54Z",
"aliases" : [ "CVE-2024-36582" ],
"summary" : "object-deep-assign Prototype Pollution",
"details" : "alexbinary object-deep-assign 1.0.11 is vulnerable to Prototype Pollution via the extend() method of Module.deepAssign (/src/index.js)",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "@alexbinary/object-deep-assign"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.0.11"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-36582"
}, {
"type" : "WEB",
"url" : "https://gist.github.com/mestrtee/9fe4d3a862c62ce6b2b0d20d4c5fd346"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/alexbinary/object-deep-assign"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-06-17T21:37:37Z",
"nvd_published_at" : "2024-06-17T15:15:51Z"
}
}